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 ... 152 153 [154] 155 156 ... 168
So can someone tell me exactly which "profile" is being referred to here?
Open your technology file in a text editor. Find "<UMLProfiles>", it should contain a <UMLProfile> block which should contain a <Documentation> block which should have a "name" attribute. That's the profile name you need to put in your toolbox profile attributes.

I've just noticed that the help files say that when saving the diagrams as profiles, they must be saved as XMI UML(2.0). I've been saving them as EA UML (2.x). When saved as the former, they do not show up as profiles when using the 'Generate MDG Tech file' dialog box.
No, save as "EA UML(2.x)". The help has been corrected for the next version of EA, I believe.

If you're still having problems, send your technology file to Sparx support and someone will figure it out for you.

You can either provide a list of diagram types you want the quicklinks to appear on or a list of diagram types you don't (either a white list or a black list). You seem to be attempting a mixture of both.

Also, "ContextView" is not one of EA's built-in diagram types, so it's presumably one of your own. You will need to prefix it with the name of your diagram profile separated by "::".

So, if you want the quicklinks to appear on use case diagrams only, set the value to "UseCase;". If you want the quicklinks to appear on all diagram types except ContextView, set the value to "!DiagramProfileName::ContextView;".

If none of this makes sense, please send your quicklink definitions and technology file to Sparx support and someone there will help you get it working.

I can read the help.
Does this mean you've read the help and got it working, or read the help and it still doesn't work? If the latter, please put in a support request and we'll figure out how to get it working (please attach your technology file).

PS The commonest problem I encounter is that you need to set _defaultDiagramType to "DiagramProfileName::DiagramType" not "TechnologyName::DiagramType".

Nick, have a look in t_trxtypes.Notes where t_trxtypes.Description='SSDocProfile'. And try not to break anything! ;)

EDIT: Rats! Aaron beat me to it...

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)

Pages: 1 ... 152 153 [154] 155 156 ... 168