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 ... 4 5 [6] 7 8 ... 165
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" :)

Bugs and Issues / Re: Quick Linker from a connector
« on: May 25, 2017, 02:36:55 pm »
In the help for the quicklinker definition format, column C has:
You can indicate that this is a UML Metaclass or a specialization by adding the prefix '@'.
So @Element, @NamedElement, @Classifier, whatever. If the element you drag to is derived from whatever UML metaclass is named after the '@' then it's a match. And yes, this is available in the current version of EA (I think it was introduced in 13.0). It would be nice if you could do the same with connectors, e.g. link:@DirectedRelationship, but you can't yet. I don't have any information on if or when it might be added. (By the by, UML::Relationship specializes UML::Element, which is why I mentioned link:@Element, but neither is currently available, so the point is moot).

I tried to define a derivation relationship between two InformationFlows:
link:InformationFlow,Flow,link:InformationFlow,Flow,link:InformationFlow,Flow,Abstraction,Drvtn,to,derives from,derives from,True,True,,True,ZZZZ,0,,,,,

When I try to QuickLink two such InformationFlows, nothing pops up (only the defaults).  Have I set it up correctly?
Column E is missing (diagram filter). And link:InformationFlow can't work in column F which defines the target element that you create if you drag to empty space.

Bugs and Issues / Re: Quick Linker from a connector
« on: May 25, 2017, 01:12:42 pm »
However, that only seems to handle relationships between arcs and vertices.  Do I do the same for Column C - for relationships between arcs and arcs?

Also, is there any shortcut to say (for example) from any relationship to any other relationship, this relationship is allowed?
No. For diagram objects you can use @Element to include anything derived from UML::Element, i.e. everything, but link:@Element hasn't been implemented yet.  EDIT: This is for target only, not source.

Also the value after the link: value needs to be the type of the relationship, yes?  The stereotype will provide the metatype definition.
Yes. There is a list in the help.

ISTR we changed it to match the UML spec better, but there's an option to revert to the old behaviour: ribbon | Start | Workspace | Preferences | Objects | Show invoked Activity name

Bugs and Issues / Re: SPARX Cloud Services Issues
« on: May 16, 2017, 02:57:53 pm »
Use the "Report a Bug" link at the bottom of this page to contact Sparx Support directly.

General Board / Re: Object Diagram
« on: May 15, 2017, 11:30:39 am »
Right-click | Feature & Properties | Set Run State (Ctrl+Shift+R)

Automation Interface, Add-Ins and Tools / Re: Data Modeling
« on: May 15, 2017, 09:53:15 am »
1) When you create a table, before you can create columns you need to tell EA what DBMS you are modelling. EA is not opening a database connection, it's just trying to find out what you're doing.
2) The list of available types will depend on the DBMS you are modelling. That's why you need to let EA know.
3) Right-click a package in the Project Browser, Add Diagram, Select From: Extended, Diagram Types: Data Modeling. If Extended isn't available, open the MDG Technologies dialog and enable "Core Extensions".

It sounds like you're invoking the appeal to authority logical fallacy.  Just because they are academics isn't a guarantee they're not abusing the language.
There's evolution and there's genetic engineering ;)

Bugs and Issues / Re: Problem to check-in to PTC
« on: May 12, 2017, 09:17:36 am »
What are these tags for?
$ea_attsclassified holds the GUID of every attribute typed by the current class. $ea_oprsclassified holds the GUID of every operation whose return value is typed by the current class.

tried passing a RGB representation of the color CLng(255-0-0)
I suspect the only reason that works is because it evaluates to 255 minus zero minus zero = 255. For an RGB representation, use red + green x 100hex + blue x 10000hex.

I haven't looked at Geert's script, but what you may need to do is set the .Stereotype value to blank, then set the .Stereotype value to "AMT_DT_GDT_GenericDiagramTable_Object". Otherwise EA might assume the stereotype hasn't changed (because it has the same name) so won't go looking for a new profile ID.

Bugs and Issues / Re: Hyperlink to element in diagram
« on: May 05, 2017, 02:21:00 pm »
Enter the Name or Alias of your target element in the hyperlink's Notes field.

I had never seen this functionality before now so I don't know what happens if there is more than one element with the same name or alias, or if the element appears on more than one diagram. That can be left as an exercise for the reader... ;)

Pages: 1 ... 4 5 [6] 7 8 ... 165