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 ... 390 391 [392] 393 394 ... 422
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.

Automation Interface, Add-Ins and Tools / Re: Resizing objects
« on: November 10, 2008, 08:16:19 am »
Somewhere along the line, the ability for a profile to specify the size of ports, activity parameters etc. was added.

Unfortunately, prior to then most profiles would have specified a large size, and it would have been ignored.  This is still the default if no size is specified.

I don't know why setting the size wouldn't be working, but if you don't get a satisfactory answer today fill in a bug report and someone here who knows this area better than me should answer your question.

Automation Interface, Add-Ins and Tools / Re: Change element type
« on: November 07, 2008, 09:02:04 am »
Element | Advanced | Change Type for each class.

Alternatively, you could do it by automation.

Automation Interface, Add-Ins and Tools / Re: Tagged Values for elements
« on: November 06, 2008, 08:23:09 am »
Open your EABase.eap from your install directory, set a template package and add a change with the appropriate tagged values.

From that point, all new projects created will add those tagged values automatically to all change elements that are created.

Modify the code templates.

You'll find a list over attributes and a list over operations.  Just add the appropriate region code (in plain text) to the template and you'll be fine.

Pages: 1 ... 390 391 [392] 393 394 ... 422