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 ... 5 6 [7] 8 9 ... 11
91
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.

92
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?

93
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.

94
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.

95
General Board / Re: Copying/saving a diagram to the clipboard
« on: April 24, 2015, 05:59:19 pm »
Quote
Alternatively
Tools > Options > Diagram
See "Diagram frames"
you can turn them off when copied to the clipboard, so the problem goes away.
It certainly does the trick; thank you very much, much appreciated.

96
General Board / Re: Copying/saving a diagram to the clipboard
« on: April 15, 2015, 06:57:48 pm »
Quote
Not if you are including profiles.  You need to export each of your profiles (Stereotypes, Diagrams, Toolboxes) as XML files first, which can then be included in the MDG Technology.
How can I establish beyond doubt all the profiles used in a project, including those inherited?

97
General Board / Re: Copying/saving a diagram to the clipboard
« on: April 14, 2015, 11:48:51 pm »
Thanks for this, MDG technology gets mentioned again I should give a try. Is the MDG creation wizard capable of generating an MDG file based on a project?

98
General Board / Copying/saving a diagram to the clipboard
« on: April 14, 2015, 12:58:16 am »
If I have a diagram call foo and save it to the clipboard, when it gets pasted into another document it has a box at the top reading "class foo". Is there a way to customise this through a stereotype and make it read "SADM foo"?

99
General Board / Re: Set Element Properties by Diagram Type
« on: April 22, 2015, 02:53:11 am »
You can set the color locally for each diagram using the toolbox at the top of the diagram or globally using F4. The formatting toolbox at the top of the diagram overrides the global settings. Which method are you using to change the color of the class?

100
General Board / Re: Connectors in diagrams in background
« on: April 15, 2015, 06:55:45 pm »
Quote
To go on with that: creating wall-papers I found it extremely convenient to use sub-domains on A4 format and assemble them on a larger A-format poster rather than creating a single big one.

q.
Fully agree, all detail does not have to be in 1 diagram; it is often best to divide a very large diagram and assemble a larger diagram together as a wallpaper.
To make this task easier I use a "starry skies" orientation: I place the many side of any relationships at the top of the diagram and if I cannot do that I place them on the top left quadrant; but I normally model data.

101
General Board / Re: Connectors in diagrams in background
« on: April 15, 2015, 06:01:43 pm »
Quote
That is quite bad. I do not want to use two tools. One to build up a model and one such as Visio to create "presentable" diagrams. My Plan B was boundaries, but in that case I would add "wrong" connectors to a model. Aren't there any other possibilities?
I find EA diagrams quite presentable and tend to stay away from Visio, I used it extensively in the past. I'll rather spend more time thinking about design that about about making a diagram look "presentable". Just "presentable" diagrams don't make a good solution.

Without knowing more about the diagram, it is not easy to help. I can fit a diagram with 20 to 30 elements in an A3 landscape without having overlapping lines and just using straight lines. I can probably double that in A0.

102
General Board / Controlling casing when Database modelling
« on: April 14, 2015, 11:54:55 pm »
When creating a DB model with Oracle as the target RDBMS, EA12 capitalizes the names of most things that go in the model (except for primary keys). In an ideal world, since I am working on a logical data model, I would prefer to use camel case (or hyphens) with the first letter of each word capitalized. Is there a way of changing the default behavior to achieve this?

P.S.: Hopefully this does not involve the use of MDG technologies although I am more than happy to try it :)

103
General Board / Re: Default language
« on: April 13, 2015, 11:35:23 pm »
Quote
You might use a SQL search to list the classes along with their language:

Code: [Select]
SELECT  ea_guid AS CLASSGUID, Object_Type AS CLASSTYPE, Name , GenType FROM t_object
where Name LIKE '*<Search Term>*'

Note: above is for EAP. For most RDBMS use % instead of *

q.
Thanks for the SQL code, is there a way to run SQL inside EAP?

104
General Board / Re: Default language
« on: April 10, 2015, 08:32:52 pm »
Sorry I missed your second post, that solves the problem. Although I do think that EA should be smart enough to inherit from the package  :).

105
General Board / Re: Default language
« on: April 10, 2015, 08:02:46 pm »
It appears to have changed the language of all classes but the only way to check it is to view the properties of each class individually because I cannot add the language of a list view of elements.

However, when I add a new class to the package it still default to Java. It does not inherit the language of the Package.

As much as I love EA, this is starting to get a little annoying because there are more than 100 elements in the model and growing.

Pages: 1 ... 5 6 [7] 8 9 ... 11