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 2 [3] 4 5 ... 163
Suggestions and Requests / Re: Role name vs. attribute
« on: July 31, 2017, 05:04:44 pm »
So what is an association that's not going to be an attribute? A ghost?

I think the question should be the other way around: what is an attribute that's not going to be an association end? The convention used in the UML specification itself appears to be that they use associations between classes, but attributes with data types (primitive or otherwise).

On the Preferences dialog, there is an Allow Free Sorting option that you should tick, if not already.

ribbon|Start|Workspace|Preferences|General|Project Browser|Allow Free Sorting

Can anyone tell me what/how to set/clear?

A quick check of the diagram's extended style shows the parameter isn't in there... nor do I see any other obvious location for it.

Thanks - Julian

t_diagram.StyleEx includes "CEE=1;"

Instead of * you need a %.


Or use '#WC#' which will substitute the appropriate wildcard character for the database you're running the search on.

If all you want to do is display one of a BPMN Activity's tagged values on a diagram, then rather than messing around with shape scripts and risk losing BPMN functionality, add a Note to the activity (right-click > New Child Element > Attach Note), right-click the note link and "Link this note to an element feature".

or use subclasses of Theism instead of Theism types. In that case you can give each subclass it's own redefined association with redefined exact multiplicities.

Was going to suggest this but Geert beat me to it.

You will need to change t_object.Object_Type from 'Event' to 'ObjectNode'. (Probably not the whole story, but one step closer...)

Yes. Highlight some text then from the ribbon choose Edit | Edit | Edit | Apply Comment

For legacy reasons, the property Element.Stereotype does not support fully qualified names. The code above will actually define a new stereotype in the model with the name BPMN2.0::Activity. It is a completely separate stereotype from the Activity stereotype from the BPMN2.0 profile.

You should use:
Code: [Select]
This will parse the assigned string, and set the stereotype to the one from the requested profile.
You should also go ribbon | Configure | UML Types and delete any stereotypes named BPMN2.0::Activity

Try adding an extra Update after setting the type to Activity:

callingElement.Type = "Activity"
callingElement.Stereotype = "BPMN2.0::Activity" ' fully qualified otherwise no TVs created

I haven't tried it, but I suspect that otherwise when applying the stereotype EA might still think the element is an Action.

I noticed 2 options under Technology/Publish that look interesting: Technology/Publish/Publish Diagram as Pattern and Technology/Publish/Package as UML Profile. Any comments on what they do and if they are new will be much appreciated.
They have been there forever; just the names have changed. (Previously Save Diagram as UML Pattern and Save Package as UML Profile, from memory).

In EA 13, it's "ribbon | Layout | Diagram | Manage | Set as Model Default"

Or you can "Set as User Default". Or you can define a working set (list of diagrams and other windows) to apply when model opens.

Insert padding at the top of the shape so that the text doesn't overlap the decoration:
Code: [Select]
decoration Etape

shape main
roundrect(0, 0, 100, 100,10,10);

shape padding

shape name
h_align = "center";
v_align = "top";
editablefield = "name";

General Board / Re: Default hide namespaces on diagrams
« on: May 31, 2017, 09:34:31 am »
Define a Project Template Package. Create a diagram in that package. Uncheck the Show Namespace option for the template diagram. All new diagrams of the same type will be created with Show Namespace unchecked.

Suggestions and Requests / Re: Word Wrap on non spaced names
« on: May 30, 2017, 10:51:03 am »
Searching for any of {"Word wrap" wordwrap} doesn't find it, I guess I should have added: "wrap" on its own...  ::) ::)
I searched for "camel" :)

Pages: 1 2 [3] 4 5 ... 163