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 - Shegit Brahm

Pages: [1] 2 3
General Board / Re: How to delete file/ usage history? [solved]
« on: July 26, 2017, 11:32:10 pm »
Well: yes, that works  :o

nagivate to HKEY_USERS\S-1-5-21-[...]\Software\Sparx Systems\EA400\EA\MTS Recent File List
... well, search for "MTS Recent File List" because replacing user id is not that obvious.

I just hoped for a ea internal solution.

I digged into MDG and created several technology exports.

Now I realize: the dropdown of "open an existing mts file" is filled - and denies any new ones. And the existing ones occur in random order.

My question: how to get rid of these entries?

If I delete one in windows file explorer, EA does (obviuosly) not know and just tells me: oops, this is unknown and has no information stored.
But it persists as dropdown entry.
is quite quiet about.

Thanks, Shegit

using "action" on a stereotype does also what you say / I expect. ActivityIntial not.

If I understand you correct, reporting a bug does never imply reporting it here inside "Bugs and Issues" but using ? Well, that would explain something.

Using EA 13.0

If I define a stereotype extending metaclass "ActivityInitial" with some attributes,
create myToolbox with it and export all as MDG,
import it to other eap.

In activity diagram I
- have to drag'n'drop from myToolbox to receive my customization (see,38479.0.html for my observation)
- if I whyever delete any tagged value (originally attributes) from this node, I'm unable to restore them.
- neither sync nor "apply" again works.

Looking for a workaround I tried to define Tagged Values in UML1-style: using "UML Types"

But "AppliesTo" is fully ignored on ActivityInitial:

- e.g. for Decision works fine:

- for ActivitiyInitial doesn't show up:

"AppliesTo=Action" works as well, but not these nodes.

Any ideas how I can workaround this bug set a "model" Tagged Value that only applies to ActivityInitial?

General Board / Re: Figure numbers in captions in generate documents?
« on: July 20, 2017, 06:25:52 pm »
Sorry, I have no idea how they do it - it just works. My company uses a third party plugin that generates our documents of EA and it puts these informations on correct place.

Could solve CallBehavior that it "does something useful".

Extend metaclass "action" and set the generated attribute "kind" to the initial value "CallBehavior".
Define in myToolbox this stereotype in short form (myProfileTB::myCallbehavior) - that results in an action.

If I drag'n'drop now from myToolbox into an activity diagram, I will get an action of kind CallBehavior.

Only disadvantage: If I create an clean UML action and add in properties page the stereotype "myCallBehavior" - the kind on subpage "Advanced" will stay unchanged, but anything else looks like it should.

Works too with ExpansionRegion to set mode on iterative, e.g..
Stays only the annoying Initial and Final that resist any setting of stereotype, they still need creation from myToolbox.

To define a stereotype with specific tagged values for a specific element type I define an UML profile.

Now I'd like to have some tagged values of this stereotype to apply depending to which element type the stereotype was added.

Is that possible?

- ActionTV = my stereotype
- extends Action, ActivityInitial, ActivityFinal, Decision
- has attributes attribute1, attribute2, attribute3, ActionOnly, InitOnly, FinalOnly, DecisionOnly

-> visualization

importing the UML profile (or MDG technology to have toolbox) I want to create (inside activity diagram):
- stereotype "ActionTV":
- an action with tagged values            attribute1, attribute2, attribute3, ActionOnly
- an initial node with tagged values     attribute1, attribute2, attribute3, InitOnly
- an final node with tagged values       attribute1, attribute2, attribute3, FinalOnly
- an decision node with tagged values attribute1, attribute2, attribute3, DecisionOnly

- stereotype "Together"
- an action with tagged values      together1, together2, ActOnly
- an decision with tagged values   together1, together2, DecOnly

Question: is that possible?

The option "first stereotypes from each metaclass, later specialization from these to one stereotype" results in elements, that have all time all tagged values from all classes, just grouped by their original stereotype. And synchronizing one element updates all :-)
Here stereotype "Together" specializes from ActionFirst and DecisionFirst.

-  UML Profile
- Toolbox defintion for profile
- MDG of profile and toolbox
- eap where everything was defined
- picture of profile
- picture of tagged values as result

thanks, Shegit

I moved extend connector around to clarify: all TARGET are set:

this "candidate as bug" came from your help in topic,38459.0.html

thanks, Shegit

I created an UML Profile for individual stereotypes and a Toolbox based on that.
- create in ToolboxBase.eap, use in TboxUse.eap

need sync for full definitions from myProfile:
- constraints will be added only after syncing the element (User Guide already says so:

my problem with ActivityInitial:
- creating an element from original UML and adding stereotype myInit does nothing: neither tagged Values nor constraints added. And stereotype is visually wrong: instead of "<<myInit>> it shows <<myProfile::myInit>>
- syncing the stereotype from myToolbox: does nothing
- adding stereotype using drag'n'drop from myToolbox: impossible, creates always new node
- only solution so far: creating ActivityInitial from myToolbox, sync it, re-connecting & transferring everything from now-old node, delete now-old node.

my problem with Decision:
- creating element from original UML: adding stereotype myDec using properties page is impossible, myProfile is not offered for selection
- solution: drag'n'drop from myToolbox, adds everything or create from myToolbox

my problem with CallBehavior:
- defining toolbox needs "special skill": the metaclass is called "BehaviorCall", the toolbox attributes need full qualifier with "myProfileTB::myCallBehavior(UML::BehaviorCall)" (other stereotypes need only myProfileTB::myAction, guess it is because of CB vs BC)
- drag'n'drop from myToolbox on empty activity diagram does nothing
- drag'n'drop from myToolbox on default action does nothing
- creating action from default toolbox, changing kind to CallBehavior, drag'n'drop myCall from myToolbox: I get choice "apply myCall/ add myCall" - but nothing happens.
- only solution: create action from default, change kind to CB, select stereotype in properties

So all in all everywhere a different kind of workaround exists - but is there nothing to achieve a consistent work flow?

files for example:  profile definition as UML profile  entire stuff as MDG technology  toolbox definition as UML profile   eap where MDG is used eap where profiles got defined

Thanks, Shegit

tested links in different browser with being logged out in dropbox. works.
changed to offer files directly instead opening download page.

@Geert: will dig into ShapeScript then, thanks.

@q.: yes, color does get included, element size is (by experience) saved only from diagram export using "manage->save as profile".

So I guess the checkbox exists only because it is the same dialogue which export way I ever use.
And it has the "flaw" for exported diagrams, that the default element size is minimum as big as needed for the stereotype element to declare it's metaclass extension.

thanks, Shegit

I created UML profiles and usually set all exporting and importing options, including "Element Size".
In detail, I set stereotypes extending several metaclasses.

I use these to ways:
- right click on package and using "Advanced -> Save package as UML profile"
- click on package and then "Layout-> (Diagram) Manage -> Save as Profile" (works only after one diagram was opened in advance but exports entire package)

My question is:
- Where is the "Element size" stored, when I export the UML profile?
- Should I dig into "Shape Script", to ensure any sizing? (Because appearance like "grey merge node" works fine)
- and can this Shape Script be exported together with UML profile or at least MDG, because there is inclusion of "Other -> Scripts"?

In the beginning, I had only one diagram and "accidentially" did diagram export
-> that way "imported" ActivityInitial got the size of the stereotype that defines it in the base eap.
like stated here

is silent about size.

Thanks in advance, Shegit

Base eap to define a UML profile with
- stereotype "myStereo" extending metaclass Action (myStereo1 for only one per attribute, myStereo2 for more than one)
- several attributes for this stereotype
- connector "taggedValue" between metaclass Action, ActivityInitial and Decision
- connector role specified as attributes names intend

exporting as MDG Technology or UML profile

Use eap to have tagged values depending on stereotype
- creating activity diagram with at least one element for each type of metaclass in base eap
- importing MDG Technology/ UML profile
- creating Action "useStereo1" and Action "useStereo2" in Activity diagram
- setting "myStereo1" and "myStereo2" as stereotype for this action.
- defining entries for each tagged value of both actions

what is:
- every tv is limited to only one metaclass

what should:
- every tv is limited to each metaclass as defined in base eap

source of problem:
- generated xml selected one metaclass by random

- editing xml so that 'notes="Type=RefGUID;Metatype=Action,Decision,...;"

With the XML I can achieve almost any limitation.
But that's what the generated xml should do as well.

example files: eap used to define stereotypes with tagged values MDG generated by EA MDG edited to achieve aimed behavior UML profile for single tagged value connectors  UML profile for multiple tagged value connectors diagram RefGUIDs with multiple connectors
(edit: changed dropbox links to start download directly (dl=1) instead opening dropbox page (dl=0))

general discussion took place here:,38459.0.html

thanks, will use the aggronym ( 8)) and will eventually report the bug.

Question of curiosity:

I could tv-connect one metaclass and found it as restriction while Connection the tv

If I connect more than one metaclass, the profile export picks only one by random
- I set on connector the target role to the attribute where it should apply.

If I now edit the XML to
Code: [Select]
<TaggedValueType property="WithRefGUID" description="" notes="Type=RefGUID;Metatype=ActivityFinal,Decision;"/>I limit restriction to both types while
Code: [Select]
<TaggedValueType property="WithRefGUID" description="" notes="Type=RefGUID;"/> takes away any element restriction.

What can I do to control this behaviour inside EA GUI instead of exported XML?

thanks, Shegit

Pages: [1] 2 3