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
2296
Quote
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.

Quote
Edit:
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.

2297
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.


2298
Quote
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".

2299
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...

2300
Quote
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.

2301
Quote
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

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

2303
Quote
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.

2304
Quote
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.

2305
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.

2306
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...

2307
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: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/deploying_mdg_technologies.htm

2308
Quote
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.

2309
Quote
Hello,

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.

2310
Automation Interface, Add-Ins and Tools / Re: Create GUIDs
« on: April 28, 2010, 08:45:41 am »
Quote
(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