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 6 ... 163
47
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:
Quote
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).

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

48
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?
Yes

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

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

49
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

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

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

52
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".

53
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 ;)

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

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

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

57
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... ;)

58
General Board / Re: Adding Memos as a MDG
« on: May 02, 2017, 01:25:18 pm »
There's a quicker way: add an attribute to your stereotype class with initial value set to '<memo>'.

59
Bugs and Issues / Re: Shapescript vs Local diagram rendering
« on: May 02, 2017, 01:21:29 pm »
Long story short, I think your shape script needs to check the diagram type and only set the colour if it isn't a transition diagram.

60
There is the following in the release notes for build 1305:
Quote
Redefine stereotypes from external profiles using a <<redefines>> stereotyped generalization
   . Add new tagged values to stereotype group for parent stereotype - Define distinct tags on the child stereotype
   . Replace the type of tagged values from parent stereotype - Define tagged values with the same name on the child stereotype
   . Remove tagged values from the parent sterotype - Define tagged values with the same name and the stereotype <<remove>> on the child stereotype
   . Automatically replace parent stereotype with child - Use same name for stereotype, and user selects technology containing child stereotype as active ( Configure | Technology | Manage | Set Active )

I think something in there will help you.

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