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 - RoyC

Pages: 1 ... 71 72 [73] 74 75 ... 79
Automation Interface, Add-Ins and Tools / Re: QuickLinker Groups
« on: May 19, 2014, 02:23:40 pm »
Would you need a menu group? Dragging from an element into space creates an element (so a menu of possible element types) AND a connector (so a menu of connectors for each type of element). But dragging between two existing elements creates just a connector, so you would have only one menu (of possible connectors).

But I'm just talking off the top of my head, so there is every possibility that I am missing something!

Creating the actual Tagged values, follow Geert's advice. Incorporating them into a Profile, read around this set of topics:

If you are using Release 11 of EA, perhaps try and locate the equivalent topics in the integrated Help (click on a Help icon anywhere in the application). I don't think the topics are different, but there might be changes to the menu paths, displays or descriptions.

(We are working on loading the EA 11 Help on the website.)

You can't edit Linked Document templates through the Document Template Designer - they have their own template editor.

However, there does seem to be a problem specifically with TOGAF Linked Document templates, so perhaps you could submit a bug report to Sparx Support? Thanks.

The Quicklinker really has nothing to do with your issue. As qwerty says, it offers suggestions for the type of connector and the type of target element you can use for a given source element type, but this is not restrictive and - as far as the Quicklinker is concerned -  you can create any connector to any type of element by any other means you like.

What you need to do is either create a script to check that your source-connector-target combinations are within the constraints you set (as qwerty also suggests), or create your own Model Validation module within an MDG Technology (which also contains your Profile). For the second option, see:

(Note step 10 of that second link)   and

Is the yellow box the shadow itself, or around the shadow? I ask only to establish what the box ISN'T. On Tools | Options | Diagram | Standard Colors, what have you set the Shadows color to? And does your shape script redefine that color?

Perhaps send the shape script in to Sparx Support?

>>  So checked the help file and this still references the "old ways" - I know it's still early days for V11 but can you advise where the documentation is for doing it the new way please.

As I mentioned earlier, it is still in production. It will be available in a later release of EA 11.

If you are reviewing the version 11 beta release, the new process for dealing with Learning Center pages is not currently documented, but it will be soon.

Automation Interface, Add-Ins and Tools / Re: Tagged values names
« on: February 07, 2014, 09:31:09 am »
What you see at the top of that window is the element type or connector type. It isn't a Tagged Value, it's the reference to the element or connector in which the Tagged Values are set.

You can see a list of standard element and connector types here:

As the topic suggests, you can extend these standard types with stereotypes, so if you look at the Tagged Values window for an extended element or connector, you will see the stereotype name for that element or connector type.

On the other hand: if I write a shape script and place the DrawCompositeDiagram wouldn't I expect to appear that diagram rather to have the user to set the option manually??? That's probably some EAUI as my way of thinking differs from that of the EA developers.

No, because this piece of script is for responding to the user's requirement to show a composite diagram WITHIN A COMPARTMENT OF THE PARENT ELEMENT. The user still has to indicate whether to display the composite diagram separately or within the parent element.

On the Class, you also need to select the context menu option New Child Diagram > Show Composite Diagram in Compartment.

The point is, some Shape Scripts change element display, and if you have a Composite Diagram shown in the compartment the Shape Script would change things so that the diagram would not display. THIS bit of Shape Script honours the Show Composite Diagram In Compartment setting so that the diagram does display. I hate to point it out, but that is explained in the Show Composite Diagram topic in the Help.

I am by no means an expert in Shape Scripts. I sit in my sandpit, plastic spade in one hand and keyboard in the other, and play with the scripts to produce the actual screenshots you see in the Help.  If I can make those work, believe me, there are no hidden pre-requisites or complications! Other than, perhaps, a whack with a plastic spade?

If you are specifying a Requirement, use the Traceability window (View | Traceability, or press Ctrl+Shift+F4).

Another problem here is that you are working on the very latest build of Release 10 (1008) but referring to a document that was written for a much, much earlier release of EA (

Please do as rothnic did: "... instead used the guide in the help file of EA to get through it.". The Help in the installer of your build of EA always supports that build.

What have you attached the linked document to? A Document Artifact element or a Package element? In either case, that element is unlikely to be one of your stereotype B elements, so it won't be included in the report. (A linked document is bound to an element.)

Just to answer qwerty's point - quote from the Scripting topic in the Help:

"This facility is available in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions."

Can you run the script from the context menu? (Right click on a script name and select the Run Script menu option.)

Pages: 1 ... 71 72 [73] 74 75 ... 79