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

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

http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/user_interface/configurelocaloptions.html
is quite quiet about.

Thanks, Shegit

3
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 http://sparxsystems.com/registered/reg_bug_report.html ? Well, that would explain something.


4
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 http://sparxsystems.com/forums/smf/index.php/topic,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:
Type=RefGUID;
Metatype=Decision;
AppliesTo=Decision;

- for ActivitiyInitial doesn't show up:
Type=RefGUID;
Metatype=Decision;
AppliesTo=ActivityInitial;

"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?

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

6
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.
see

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.

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

E.g:
- 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.
See

files:
- https://www.dropbox.com/s/2nlgkdb7teg58e0/ShegitTvOnClass.xml?dl=1  UML Profile
- https://www.dropbox.com/s/iq5s6003uyvdjhl/Toolbox1TvOnClass.xml?dl=1 Toolbox defintion for profile
- https://www.dropbox.com/s/5jd7rvsv5wkrg1g/TvOnClass_MDG.xml?dl=1 MDG of profile and toolbox
- https://www.dropbox.com/s/5bjd6ndvk89tg4l/TVDef_ApplySomeTVOnClass.eap?dl=1 eap where everything was defined
- https://www.dropbox.com/s/rk5dxeq02vz7xmz/TvOnClass.png?dl=1 picture of profile
- https://www.dropbox.com/s/9id05ovrh707f2r/TvOnClass_tags.png?dl=1 picture of tagged values as result

thanks, Shegit

8
I moved extend connector around to clarify: all TARGET are set:
https://www.dropbox.com/s/tnzom6j02zh20vt/RefGUIDs_AllTargetSet.png?dl=1

this "candidate as bug" came from your help in topic http://sparxsystems.com/forums/smf/index.php/topic,38459.0.html

thanks, Shegit

9
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: http://www.sparxsystems.com/enterprise_architect_user_guide/13.0/model_domains/synchronizetagsandconstrain.html)

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:
https://www.dropbox.com/s/rr0z7btay6lcnq8/myProfileTB.xml?dl=1  profile definition as UML profile
https://www.dropbox.com/s/irgqc8f87a7dd2a/myToolb_MDG.xml?dl=1  entire stuff as MDG technology
https://www.dropbox.com/s/zs9tz7gd9orx56r/myToolbox.xml?dl=1  toolbox definition as UML profile
https://www.dropbox.com/s/8mt338nhrcyyske/TboxUse.eap?dl=1   eap where MDG is used
https://www.dropbox.com/s/ou1gvo94lo6xr6l/ToolboxBase.eap?dl=1 eap where profiles got defined

Thanks, Shegit

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

11
@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

12
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
http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/save_profile_options.html

But
http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/exportprofile_2.html
is silent about size.

Thanks in advance, Shegit

13
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

"workaround":
- 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:
https://www.dropbox.com/s/500b4as78dw3vfy/RefGUID_difference_GUI_XML_Base.eap?dl=1 eap used to define stereotypes with tagged values
https://www.dropbox.com/s/a7rhs8o0hhpnjmo/RefGUIDandRefGUIDs.xml?dl=1 MDG generated by EA
https://www.dropbox.com/s/0pr3ve1e7vauwj8/RefGUIDandRefGUIDs_Edited.xml?dl=1 MDG edited to achieve aimed behavior
https://www.dropbox.com/s/1zknc7cyi9ypmtz/RefGUID.xml?dl=1 UML profile for single tagged value connectors
https://www.dropbox.com/s/d9s2hzeivtwooh0/RefGUIDs.xml?dl=1  UML profile for multiple tagged value connectors
https://www.dropbox.com/s/tnzom6j02zh20vt/RefGUIDs_AllTargetSet.png?dl=1 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:
http://sparxsystems.com/forums/smf/index.php/topic,38459.0.html

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

15
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