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 - Simon M

Pages: 1 ... 391 392 [393] 394 395 ... 423
Well, you taught me something new today.  I didn't know that such a broadcast existed.  I suspect that it's a bug and you should send it directly to Sparx Systems using the bug report link below.

Automation Interface, Add-Ins and Tools / Re: EA and AndroMDA
« on: January 15, 2009, 08:33:16 am »
It's been a long time since I experimented with EA and AndroMDA, but I needed to deselect 'Enable full EA Roundtrip' and select 'UML 1.4 (XMI 1.2)'.  Then Exclude EA tagged values and stop exporting diagrams.

AndroMDA was then able to read my XMI without issue.  Of course I have no idea if it's expecting a different version of XMI now.

Please disregard my post.  I obviously didn't really read the code...  :-[

You'll need to update the element (o) before you can add a requirement.

Are you wanting the diagram as an image?

This isn't stored in the database, but if you use the automation interface you can get it.

I think the diagram returned by Repository.GetCurrentDiagram is the only safe diagram to use SelectedObjects on.

EA obviously hasn't created a connector, but there is a relationship viewable using the hierarchy view.

To create a connector you can follow the instructions at the bottom of

Automation Interface, Add-Ins and Tools / Re: MDA "DDL" Transformation
« on: December 15, 2008, 08:15:09 am »
Yes, I'm sure.

The default template doesn't specify a name.  Add a Name="..." inside the foreign key source, but outside the column.

Automation Interface, Add-Ins and Tools / Re: MDA "DDL" Transformation
« on: December 11, 2008, 08:52:21 am »
The foreign key name comes from the name in the source of the primary key.  But be aware that there are multiple different foreign keys generated in the connector template depending on various conditions.  So make sure you modify the right one.

The primary key comes from the PrimaryKey section in the Class template.  You can add a name there.  To link to it you'll need to change the target name in the foreign key.

Automation Interface, Add-Ins and Tools / Re: Conditions in RTF reports?
« on: November 10, 2008, 08:11:40 am »
Build 833 allows you to filter the types of connectors that are shown.


Automation Interface, Add-Ins and Tools / Re: Problem with Eclipse add-in
« on: December 10, 2008, 08:15:06 am »
Yes, that would be it.

Support for a number of additional languages for Eclipse Link is currently being worked on.

If you read the documentation for Collection.GetByName you'll see
Only supported for the following collections: Models, Packages, Elements, Diagrams, TaggedValues.

Although I admit that TaggedValues could do with some clarification, as it is only talking about the Element.TaggedValues collection which is typed as TaggedValue.

Parent at destination end of generalization connector, or an owning class?

The generalized class could be found by iterating over connectors with the type of generalization, and the source matching your current element.  You'll need to add a custom template in order to do this from code templates.

Code: [Select]
%list="Connector__DestGUID" @separator="\n" connectorSourceElemGUID=elemGUID and connectorType=="Generalization"%
You could also use an add-in call (EXEC_ADD_IN) to do either one.

Pages: 1 ... 391 392 [393] 394 395 ... 423