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.

Topics - philchudley

Pages: 1 ... 4 5 [6] 7 8
Uml Process / Direction in operation parameters
« on: November 04, 2015, 10:37:24 pm »
Hi All

Just curious as to why EA insists on representing the parameter directions of in, out, inout and return incorrectly?

I my opinion the direction should be stated explicitly as shown in the generic example below:

+ myOperation(in para1 : String, out para2 : String, inout para2 : String, return String)

in of course can be omitted as it is the default (correct in EA)
out is represented incorrectly by * after the parameter name
inout is represented incorrectly by * after the parameter name
return is omitted (just like in) also incorrect

I am more concerned about out an inout, particularly in a Platform Independent Model.

Any thoughts as to divergence from the UML spec?


Uml Process / Generalization Sets
« on: October 14, 2014, 11:55:02 pm »
Not a feature I use very often, but I need to include Generalization Sets in a current SysML Model

I can create the Generalization Sets easy enough and set the options for IsCovering and/or IsDisjoint

However only the name of Generalization Set appears on the diagram, not the constaints for IsCovering and IsDisjoint

Anyone know how to show these constraints (without duplicating them in the Constraints property of each Generalization Relationship)?


Uml Process / Icon attribute for stereotype in a profile
« on: November 06, 2009, 12:31:31 am »
Hi All

Page 1483 of the current version of the EA User Guide states for the icon attribute of a stereotype element in a profile:

Contains the path to a bitmap file to be used as the Project Browser icon for all elements with the given stereotype. The bitmap must be 16x16 pixels. For a transparent background, use light grey - RGB(192,192,192).

I have created such an icon for my profile and set the icon attribute accordingly.

When I import and use the profile, the icon appears just fine in the Toolbox, but not in the Project Browser (which displays the icon of the metaclass instead)

I used the profile toolbox and created the element from the profile toolbox.

Am I missing something?

Uml Process / MDG Profiles and Tagged Values
« on: November 06, 2009, 08:25:52 pm »
Hi all

I have created a profile which defines a stereotype (it's extending UML::Activity) and added attributes which will eventually become tagged values.

The type of these tagged values are String, Enum and Memo

The first two are no problem, for the Memo, I created a tagged value (Settings | UML... | Tagged Value Types) and set the name (and type) of the attribute to the same name as the Tagged Value

I save the profile in the usual way

I start creating the MDG (Tools | Generate MDG Technology File ...) and work through the Wizard creating a an MTS file

The Tagged Value page correctlt identifies my new tagged value which I add to the MDG

All is fine.

The MDG is enabled through the Settings | MDG Technologies ... by setting the file path to my MDG file

I begin a new EA project (after restarting EA) and the profile works, the toolbox works and I can create my new elements.

All the tagged values are there in my elements, BUT the tagged value which should be a Memo, is just a simple string.

A quick check on Settings | UML... |Tagged Value Types confirms that my Memo tagged value has not been "imported" by the MDG

The XML content of the MDG looks fine

If I export the Tagged Values as a resource and import them all works fine.

It was my understanding that the Tagged Values in and MDG should be available to all projects using that MDG, or am I doing something wrong?

It all seems to work, except when using pre-defined tagged value types.

Uml Process / BPMN Profile an observation
« on: May 19, 2009, 08:24:24 pm »
Hi All

I had an EA Analysis diagram on the diagram I had serval process elements (the arrow like symbol), I was interested to see if this diagram could be "brought up-to-date" to BPMN, by changing the stereotypes.

I opened the properties and then navigated to the stereotype dialog, removed (unchecked) the existing stereotype and selected "BusinessProcess" from the BPMN1.1 profile.

Lo and behold the appearance change to that of BPMN, great and just what I expected.   :) BUT, the set of tagged values normally associated with this stereotype (the set you get if you create a BusinessProcess using the BPMN1.1 toolbox) are not available  :(

Does anyone know why? Can these tagged values be obtained and if so how?


Uml Process / Connector Labels
« on: January 17, 2008, 01:56:13 am »
In EA connectors may have labels, in the EA 7.0 user guide page 394/5 it shows how to hide/show these labels. The dialog refers to lables such as

Source Bottom Label
Source Top Label


How are the values for these labels set?

On a connector, say in a class diagram the link property shows one label (the middle top), so how are the others created?

I am using the SysML extension at the momment, and one of the examples shows a Source Top Lable on a sequence diagram message, so how was it set?

Any help much appreciated.

Uml Process / xor constraint on associations
« on: January 14, 2008, 04:08:59 am »
Does anyone know how to create an xor constraint across two associations as supported in the UML?

I can easily attach a single constraint note to one assoication, but can this note be linked to the other association?

I am using EA version 7.0

Calling all UML Profile and MDG Gurus

I have created and am still creating many UML profiles, wrapped up as MDG.

One aspect has always frustrated me regarding the use of user defined structured tagged values. Lets' give an example

1) Create a new user defined tagged value (Settings | UML Types...) say [highlight]MyMemo[/highlight] which has a definition of [highlight]Type=Memo;[/highlight]

2) Create a Stereotype called [highlight]MyStereo [/highlight]which extends the metaclass UML::Class (it could be any other metaclass actually)

3) Add an attribute called MyMemo of type MyMemo to MyStereo

4) Save the UML profile.

5) Create the MDG technology (ID MyProfile)  and select to add the profile and tagged values, and yes MyMemo appears and can be duly added

Now we test the profile.

So we add the path to our new MDG restart EA and create a new project and create a simple class diagram and add and element of type MyStereo to it. Looking at it properties, we find a tagged value correctly in the profile named section BUT  it does not have type MyMemo, but type String  >:(

The only work arounds I have are

1) Export the tagged values from the project containing the UML profile
2) Import the tagged values to ALL projects that use the profile


In the profile definition, name the attribute of MyStereo [highlight]MyProfile::MyMemo[/highlight] (that is prefix the tagged value name with the ID of MDG technology)

The last is the most elegant and results in the correct type BUT the name of the tagged value in the element dialog is MyProfile::MyMemo

Question: using method 2 how do I get rid of the MDG ID prefix in the properties?

It can be done (look at BPMN or SysML profiles .... but how?) ... preferably without hacking the MDG XML.



Automation Interface, Add-Ins and Tools / Export / Import Reference Data
« on: January 16, 2014, 02:48:04 am »
Hi Guys

Does anyone know of an API function that will export (and more importantly) import Reference Data?

Ideally the API function (if one exists) should accessible in Scripting rather than an Extension)

I realise I may be able to process the Reference Data xml file directly in the Script, but I would like an easier way if possible


Automation Interface, Add-Ins and Tools / ProjectTransfer Function
« on: November 29, 2013, 10:42:23 pm »
Hi All

I am investigating some automated functionality most likely using a JavaScript within EA , and part of it will use the [highlight]ProjectTransfer[/highlight] function from the Project Class

Has anyone any examples of use of this function that can share?

In the user guide it states that this function can transfer a repository from DBMS or EAP to EAP, whereas in the EA menu we can of course transfer between DMBS -> DBMS, EAP ->EAP, DBMS -> EAP and EAP  -> DBMS

Are all of these combinations possible using the [highlight]ProjectTransfer[/highlight] function?

All comments welcome


Hi All

Below is an extract of JavaScript behaviour in an operation within a state

Trace("Initial completed");
for (var i=0; i < 5000; i++)

[highlight]dialog.TrafficLightSimulation.SecDownLights.Text="RED YELLOW";[/highlight]

I wish to crate a simulated delay between the colours of the lights, hence a simple for loop

However, when I run the script all is fine until the highlighted step, where the following is displayed:

[highlight]TypeError: $Root.Get("dialog.TrafficLightSimulation.SecDownLights") is null[/highlight]

How can this be when it has the value "RED" and displayed correctly on the dialog?

Any ideas?

Have installed the latest version of Eclipse (i.e. Juno Service Release 2) and installed the latest version of the EA Eclipse MDG integration.

All installs fine and I do see an Enterprise Architect menu option in Eclipse Juno.

However upon selecting any one of the two options from the Enterprise Architect menu in Eclipse Juno, the following Eclipse error appears

[highlight]The chosen operation is not currently available[/highlight]

Any ideas?


Couple of questions

The information regarding this MDG state

[highlight]providing significant interoperability enhancements for Microsoft's Team Foundation Server.[/highlight]

However all the documentation I have (either Help menu) or PDF user guide provides minimal or non-existent information in this area.

I would expect to be able to connect to a TFS serrver without connecting a VS solution, since all I wish to do is integrated Work / Task items etc ... however I cannot discover how to do this or even it is possible!

I am using the latest version of the MDG, version 4.5.1

Any advice would be most appreciated



Automation Interface, Add-Ins and Tools / RedefinedToolbox
« on: April 18, 2012, 12:29:05 am »
Hi All,

In the EA user guide (I am using version 9.3 build 931), it states:

[highlight]To replace one of Enterprise Architect's default Toolboxes with one of your own (for example, if you have your
own version of the UML::Class Toolbox that you want to be opened every time a Class diagram is opened -
as long as your technology is active) then include a RedefinedToolbox clause in the Notes field for the
diagram properties of your ToolboxProfile diagram.
For example, the profile diagram's Notes field could resemble the following:
Re d e f i n e d To o l b o x =UML : : Cl a s s ; Al i a s =Cl a s s ; No t e s =St r u c t u r a l e l eme n t s f o r
Cl a s s d i a g r ams ;[/highlight]

I have created an MDG technology with a toolbox profile. On the Notes field for the Toolbox Profile diagram I have the following:

[highlight]RedefinedToolbox=UML::UseCase;Alias=Cambridge Assessment;Notes=Elements for Cambridge Assessment Requirements Modelling;[/highlight]

However, when a Use Case diagram is opened, the default toolbox appears and not my Defined Toolbox as in the RedefinedToolbox clause.

Anyone else experience the same? Have I done anything wrong? My MDG is certainly active.



Just curious, I use Visual Studio 2010 for my development. What version of .NET do you guys use for writing your add-ins, and does it really matter?

I am more curious as to whether you use .NET 3.5 or .NET 4.0 and which would be more suitable for commercial deployment


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