Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Modesto Vega

Pages: 1 ... 4 5 [6] 7 8 ... 10
76
General Board / Re: RACI-Matrix
« on: May 05, 2015, 11:19:34 pm »
Assuming that your model has processes and responsibilities defined you should be able to create a matrix by right clicking on the package select Relationship Matrix, choose "As Both" and restrict the Source and the Target accordingly using whatever stereotype you have use for processes and responsibilities.

This of course assumes that you have created a dependency between the processes and those who are responsible for them.

77
General Board / Using custom stylesheet
« on: May 05, 2015, 11:24:34 pm »
I have created a custom stylesheet, how can I use it in a user define document template?

I cannot see it in the list of stylesheets available on my custom document template.

78
General Board / Re: Copy Elements Between Diagrams
« on: May 05, 2015, 05:56:09 pm »
The workaround is as follows and does exactly what I was after:

1) Create a package at the same level of the package containing the diagram and entities in the diagram to be copied. This is the most important step otherwise the workaround does not work.

This means that if you have a structure like:
->Root
---->Package A
------->Diagram A
------->Entity A
-------.Entity B
------->Entity C
A package, let's call it Temp, needs to be created as follows:
->Root
---->Package A
------->Diagram A
------->Entity A
-------.Entity B
------->Entity C
---->Temp

2) Copy the diagram
3) Paste the diagram into Temp, this will paste all element in the diagram as links
4) Open the diagram copied into Temp
5) Select and Element, right click on it and choose Advanced\Convert Linked Element to Local Copy
This action creates a copy of the selected Element and most importantly all its relationships.
6) Modify the new diagram as required

Notes: The workaround requires a package otherwise it does not work.
Advanced\Convert Linked Element to Local Copy appears only if the folder where the diagram will be copied is at the same level as the folder contained the linked elements. If it is above and below it does not show. I presume this has something to do with scope.

Thanks to everybody who has provided all the pieces needed to fit this puzzle together.

79
General Board / Re: Copy Elements Between Diagrams
« on: May 01, 2015, 01:20:08 am »
Quote
It is true that This point is not very clear

In EA 12 is as ken.norcross says and in EA 11 is exactly the same
I got a workaround for this working fine and will post a list of steps later on.

80
General Board / Re: Copy Elements Between Diagrams
« on: April 30, 2015, 10:24:12 pm »
Quote
  • Right click the element and select "Convert Linked Element to Local Copy"
  • You now have a new copy of the element, with all the same connectors as the original
I don't know if this solution is also useful for you Modesto.

Regards
Which version/edition of EA, when I right click I cannot see  "Convert Linked Element to Local Copy".

81
General Board / Re: Copy Elements Between Diagrams
« on: April 20, 2015, 09:44:50 pm »
Quote
Quote
It will be nice if a diagram could be copied and an element within the diagram replaced with a new element preserving similar relationships.
If you just need to copy/paste a diagram with a new set of similar elements and connectors, it can be done:
  • Right click on the diagram in the Project Browser
  • Select Copy/Paste | Copy Diagram
  • Right click on another package and select Copy/Paste | Paste Diagram
  • Select 'Deep' on the Copy Diagram dialog and click OK
This is helpful, I wasn't aware of it. The only problem with it is that it creates a copy of all elements in the diagram. The feature I am after is more complex, I am looking for some elements to be copied but others to be kept as they are.

82
General Board / Re: Copy Elements Between Diagrams
« on: April 17, 2015, 10:41:53 pm »
Quote
Quote
It will be nice if a diagram could be copied and an element within the diagram replaced with a new element preserving similar relationships.
To me that sounds like some very local use. Anyhow, a little script can do that  for you.

q.
It is not local for the modelling I do: data modelling. There are a lot of recurring patterns, in particular when modelling entities at different level of granularity :)

Is this the best reference for scripting in EA https://leanpub.com/ScriptingEA?

83
General Board / Re: Copy Elements Between Diagrams
« on: April 15, 2015, 09:39:20 pm »
I don't think there is a way to do what you are after, at least I haven't found a way to do it. You can copy and a paste and element but any dependencies and associations will be lost because one of the 2 elements in the relationships is a different element in the new diagram.

It will be nice if a diagram could be copied and an element within the diagram replaced with a new element preserving similar relationships.

84
General Board / Re: Document generation
« on: April 29, 2015, 10:17:22 pm »
Is that a build after 1212? You see I got the feeling it worked on the 1st EA12 build I downloaded (which wasn't 1212).

85
General Board / Re: Document generation
« on: April 29, 2015, 10:11:32 pm »
Quote
It does work. However there have been bugs reported against this in the past ... which version of Sparx are you using ? v8 / v9 had the bugs I think. If your using a later version ... delete the table and recreate ... it will only work if "Name", "Description" appear in cells on the first row...if there is a row above them it want work...
EA 12 (Build 1212). I'll try your suggestion when it gets a little quieter. I am sure I had seen this working but cannot remember if it was on 12 or 11.

86
General Board / Re: Document generation
« on: April 29, 2015, 05:56:19 pm »
Quote
Try selecting "name" and "description" cells and right click select Table -> Header Row....
This does not work, it repeats the headers as many time as elements.

87
General Board / Re: Document generation
« on: April 28, 2015, 09:00:22 pm »
Quote
Yes it is possible. Just add Name and Description on first line.

i.e. adding to your example
Code: [Select]
package >
{Pkg.Name}
package element >< package element
element >
Name             Description
{Element.Name}      {Element.Notes}
child elements >
< child elements
< element
child packages >
< child packages
< package
It would also help if you added a table
There is table in the code, it just does not copy.

As I said in the OP, I have tried what you propose with a table and I end up with Name and Description repeated multiple times, possibly as many as elements (although I haven't counted them, there almost 200 in the model I a working with). Setting the top row as header does not solve the repetition.

88
General Board / Document generation
« on: April 28, 2015, 06:46:24 pm »
Before I raise this as an issue, I would like to establish if it is at all possible.

Let's say I have a package, lets call it "Package 1" for this example, with a diagram, lets call it "Diagram 1" for this example, and a several classes, 5 for these example, "Class 1" to "Class 5".

I know the following code snippet (by the way {Element.Name} and {Element.Notes} are 2 cells on ta table

Code: [Select]
package >
{Pkg.Name}
package element >< package element
element >
{Element.Name}      {Element.Notes}
child elements >
< child elements
< element
child packages >
< child packages
< package

Is going to generate the following

Package 1

Class 1Notes for Class 1
Class 2Notes for Class 2
Class 3Notes for Class 3
Class 4Notes for Class 4
Class 5Notes for Class 5

This is good, almost what I am trying to achieve. However what I am trying to do is having a table looking like:

NameDescription
Class 1Notes for class Class 1
Class 2Notes for Class 2
Class 3Notes for Class 3
Class 4Notes for Class 4
Class 5Notes for Class 5

Is this possible? Making the top row on the table a Header Row does not do it. If it is possible, what have I missed?

89
General Board / Re: change system templates (fragments) ?
« on: April 29, 2015, 12:14:14 am »
Instead of creating a Fragment, have you tried creating a Template. If you have a user define template (instead of a fragment), you can generate documentation from it.

Fragments are to be used only Templates.

90
General Board / Re: change system templates (fragments) ?
« on: April 28, 2015, 10:08:43 pm »
Which version of EA are you running? On EA12 you can create your own documentation fragments based on existing system templates. Just make sure you select the right system template on the "Copy from" list.

Pages: 1 ... 4 5 [6] 7 8 ... 10