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

Pages: 1 ... 153 154 [155] 156 157 ... 169
How to REPLACE the label not only the visual output?
Can't be done with shape scripts which only change the appearance of a connector. You will need to change the connector properties: double-click it.

I know that "DBType=1" stands for MS-SQL Server, but I don't know about the other databases.
0 = MySQL
1 = MS SQL Server
2 = JET
3 = Oracle
4 = PostgreSQL
5 = Adaptive Server Anywhere
7 = Progress OpenEdge
8 = Access 2007

Search for "SPL" within the last month...

I may appear a bit of a noob here, but there *is* only one search field isn't there (top right  "search the forum" with the magnifying glass)  :P
There is a row of buttons to the left of that field - the third button says "Search". Use that one (I believe the quick search that you tried uses a default time period that doesn't go far enough back in time to find what you were looking for)

The CustomCommand() call will help you if you're writing an add-in or script. If you don't want to do that, just find the stereotype in either the Toolbox or Resources window, right-click and select the Synchronize command.

No, can't do it manually, but somehow the standard BPMN technology manages to create this connection.
The BPMN diagram is an extended Analysis diagram. EA doesn't do syntax checking on Analysis diagrams.

Automation Interface, Add-Ins and Tools / Re: Menu seperator
« on: May 17, 2010, 09:28:45 am »
Just add "-" (that's a minus sign) to your list of menu items.

The fields that change are t_diagramobjects.ObjectStyle and t_diagram.StyleEx (look for a property named SPL), but I can't help you any further because I have no idea what it all means...

Toolbox profiles don't work if you import your technology into your model's resource tree. Instead you need to deploy your technology as described here:

But can we open an element list for a package from a hyperlink, not just from the context menu?
Looks like it's almost possible but not quite. One of the 12 different types of hyperlink is "EA Command", and one of the 50 or more commands available is "ViewElementList" - this will open the element list for whatever item is selected in the project browser (in other words it does exactly what the context menu command does), but I don't think it's possible to automagically pre-select an item.


I am trying to create a profile with a composite diagram.
The "son" diagram must be a State Machine diagram.

I created a profile where, in my diagram type part, I created a metaclass object named Diagram_StateMachine and a stereotype object linked with an extends.
The name of the stereotype object is the name of my kind of diagram.

If in my metaclass I write Diagram_Sequence or Diagram_Use Case I have the correct type of diagram (seq or Use case). Every diagram works except State Machine. Do you know how to do it (maybe there is a particuliar way to write State Machine ? (but I tried a lot of combinations))

Thank you.
Diagram_Statechart. See this page for the full list.

Automation Interface, Add-Ins and Tools / Re: Create GUIDs
« on: April 28, 2010, 08:45:41 am »
(I'm using VB, btw)
In Visual Studio 2008 use Tools > Create GUID (other versions of VS will have the same or similar)

Shape scripts have recently been enabled for sequence diagrams in EA 8, and just for messages and lifelines (the shape at the head of the lifeline only). It isn't yet possible to shape script endpoints, gates or interaction states.

It appears to be used for filling listboxes and comboboxes, for example on the Auto Name Counters dialog (Settings > Auto Name Counters). You can also create a custom tagged value which enumerates the table contents (Type=Enum;List=ObjectTypes;)

Automation Interface, Add-Ins and Tools / Re: EA_OnDiagramClose
« on: March 17, 2010, 09:10:52 am »
They are called EA_DiagramOpen & EA_DiagramClose in the source code, but I believe they will be changing before EA 8 goes official, probably to EA_OnPostDiagramOpen & EA_OnPostDiagramClose, so please be aware that it's all subject to change.

You can intercept the double-click event and open your own properties dialog. Search the help for EA_OnContextItemDoubleClicked

Pages: 1 ... 153 154 [155] 156 157 ... 169