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 - David Rains

Pages: [1] 2 3 4
1
I tried to describe something to answer a question, but as they say, a picture is worth a thousand words (or something like that)...

So I see the control for insert image which produces ... but obviously I am doing something wrong as I was expecting a control to allow me to navigate to and select the image file (BTW what types are supported?)

thanks

2
Automation Interface, Add-Ins and Tools / Re: 1 to many tag value
« on: September 06, 2018, 03:48:25 am »
Sorry, late night post... When I create a profile, I frequently use the stereotype connector for tagged-value and using the connector's target role, this results in the source element having a tagged value added with that roles name.

Class                               connector                              target rolename            Class
[cvTerm] ----------<tagged value>----------------------{glossaryMembership}->[cvGlossary]


When the profile is generated, dropping cvTerm class on diagram allows you to use the ... picker control to select the stereotype cvGlossary...
Type=RefGUID;Stereotypes=cvGlossary;

Setting the multiplicity on the role, will allow you to select multiples....

SO I use stereotypes for a taxonomy (package for the Taxonomy, class for the Entry in the Taxonomy)
taxPackage.Colors; taxEntry: Red; taxEntry: Yellow; taxEntry: Green (placed under Colors)

use the same approach, set your multiplicity on the role for your selection (e.g. ColorChoices)
Access the TV click the "..." to activate the picker, use the Ctrl key to allow multiple selections... navigate and select...

Sometimes in a Taxonomy, you might have Category and Entry (leafs)... Example in my Taxonomy for Non-Functional Requirement Types, I only allow for the selection of a leaf, but I want the taxonomy to have depth.... so I use class stereotypes of category and entry... restrict to Entry if you want them to select a Leaf, restrict to Category if you want them to have both.... Leaf is specialized into Category.... (so they can pick either...)

DOES that make it clearer?  I would have included a picture, but can't figure out how to do that?!! 

NOTE: KP Posted the steps for the tagged-value way to select multiple elements via the GUID way back in 2013 (copied steps from that post)
1. Go Settings > UML Types > Tagged Values Types and create a new tagged value type called "locations" with detail "Type=RefGUIDList;Values=Class;Stereotypes=Location;"
2. Create a package with «profile» stereotype. Give it a diagram.
3. On the diagram, drop a stereotype element with an extends association to a metaclass element. When the dialog appears for the metaclass, choose "Requirement".
4. Give the stereotype class an attribute named "locations".
5. Save the profile.
6. Go Tools > Generate MDG Technology File and follow the wizard's instructions. When asked what to include in the technology, tick the options for Profiles and Tagged Value Types. Select the profile saved in step 5 and the tagged value type saved in step 1.
7. Go Settings > MDG Technologies > Advanced > Add > Add Path and add the path where you saved your technology file.
8. Find your profile in the toolbox and drop a stereotyped requirement on a diagram: it should have your RefGUIDList tagged value.

The taxonomy stuff above is pretty basic stuff Package, containts elements, the steps above to create the taggedvalue to do the multiselect just has to be modified to constrain you to the stereotype of the element you are using to represent the available choices... KP used :"locations", my example was "colors"

3
Okay KP, that is good to know! I spent some time trying to follow the links back across the profile diagram to no good outcome...

So my workaround was to add a placeholder TV in the stereotype that I can look for... E.g. Class Stereotype Neo, added TV isTheOne, boolean, Const, True
So all of my stereotypes that are related in my profile, are generalizations of this base stereotype (Neo) with an inherited TV (isTheOne), if I find it, then there you go...

Anyone think of a better solution?  This is not actually an Add-In, but rather a working prototype (profile/scripts) I can use and experiment with before identifying the requirements of the Add-In...

4
Automation Interface, Add-Ins and Tools / Re: 1 to many tag value
« on: September 04, 2018, 03:41:53 am »
You can select multiple values for a tag value using the picker control with a tagged value... I sometimes use the concept of a taxonomy list to allow (taxonomy package with 2 stereotype classes (branch and leaf; leaf is type of branch) arranged in a tree hierarchy - then based on the need pointing to either branch (can then select both branch type and leaf) or only leaf)...

That could help...

5
Well, this seems a bit more complicated t_xref is the correct place a for an element with multiple stereotypes, however, my need is for a stereotyped element based on a stereotyped element in a profile. Turns out that in that case, there is ONLY 1 stereotype string (not 2) embedded in the description field.

I tried several ways of looking back through t_stereotypes ("A" is not listed there, I think because it is never extended?)... so I can still determine my "is this an "A" stereotype" function by testing for the presence of an inherited tagged value not quite as clean, but will work for now...

The good thing is EA is showing the stereotype(s) and both sets of inherited tags on that "Tagged Value" window so it should be accessible just a matter of figuring it out later... any other ideas would be appreciated...

David aka "bioform:


6
And if you need that value within your model, you could store that it in a tagged value associated with the element or association it has some context to...

I often use tagged value as containers for metadata that is derived via scripts an example might be the "completeness of the specification" of one of my elements... (say from a scale of -1 to 4 or an enumeration of n/a, not started, incomplete, acceptable, completed; then using a shape-script altering the elements color or other adornment visually to indicate the status...)



7
So I have a root stereotype sedEntity (purpose is to keep a collection of elements identified and inheriting a shared set of tagged values) that is NOT exteneded, but is then stereotyped into others(e.g, cvTerm and cvSynonym as classes; cvGlossary as package, ... as an association, etc,)

When I am writing some script automation, I need to verify early that the element that has been selected is a stereotyped sedEntity, I can see the element's stereotype, but how do I determine the next one up the chain, so to speak...

Looking at the tagged window, I see cvTerm:Dog and its tagged values, and under that sedEntity: Dog and the sed tagged values... but what is the repository path or where in the repository table structure would these be found....

Thanks (Been away from EA for a bit, but it is becoming a major part of my paying job again!! Yipee!!) So having to knock off some serious rust...

8
General Board / Edit Hyperlink in Element Note
« on: October 17, 2016, 10:56:33 pm »
How can you edit an embedded hyperlink to a selected element (e.g., the element's name has changed and the hyperlink's text is no longer correct?)
BTW: We have been asking about the automatic update of the hyperlinl's text for quite sometime... is this even being considered? Or is there a script workaround?


9
General Board / View AssociationClass in traceability window
« on: October 22, 2014, 01:17:52 pm »
Anyone know if there is away to see the related elements that are the target of the associationclass?

My example - have an Person => Role, and then a Stakeholder as the association-class linked to the Person/Role association.

It seems like there should be someway to click on "stakeholder" and see that it can be traced to both "role" and "person".

Thanks,

David

10
General Board / Simple Boundary - Align text at bottom
« on: September 22, 2011, 09:33:56 am »
I seem to remember the ability to align the label associated with a simple boundary (e.g. with use case diagrams) to the left, center, right, and top and bottom.

Can't seem to find it anymore (recently upgraded to 9.1)

Anyone?

Thanks,
David

11
General Board / Re: Anyone working on implementing SBVR in EA?
« on: May 08, 2012, 03:50:19 am »
qwerty - I tried to send you a message but got an error that you could not be found?
=======================================
I followed that link on your posting and purchased your Inside EA book!  Really looking forward to diving into it :) I have a working knowledge of the tables but really need to gain a deeper understanding.

Been using EA since version 5. :)

Look forward to talking with you.

David Rains
david.rains@live.com

12
General Board / Re: Anyone working on implementing SBVR in EA?
« on: May 08, 2012, 03:41:46 am »
Here are links to the notation, etc.

http://en.wikipedia.org/wiki/Semantics_of_Business_Vocabulary_and_Business_Rules

http://www.omg.org/spec/SBVR/1.0/
-------------------------------------------------------------------------
I am currently working on a proof-of-concept using VBScript and stereotyped elements. Previously I created a prototype solution that loosely followed the SBVR 1 standard. This time I am attempting to follow the standard more closely.

My first goal is implementing Annex H stereotypes (within the constraints of EA - example using a shape script to support the underling of Individual Concepts; e.g. Switzerland : country).

I would appreciate a discussion on how we might want to move forward with this as an on-line collaborative effort.

I can be reached at david.rains@live.com (Maryland, USA)

13
General Board / Anyone working on implementing SBVR in EA?
« on: May 07, 2012, 04:03:00 am »
I am currently working on implementing the OMG Structured Business Vocabulary and Rules model and functionality within EA.

Just wondering if anyone else is pursuing this?  ;D

David


14
General Board / Re: 3 classes, 2 associations: either one or the o
« on: May 08, 2012, 03:56:20 am »
Also I thought using a tree line style for the associations - infers an OR relationship?

15
General Board / Using structured tagged value types in stereotypes
« on: October 07, 2011, 05:13:07 am »
I have defined a strucutred tagged value type using a predefined tagged value type (checklist). I can add it successfully to an existing element, but I can not seem to:

Add it to the definition of a custome stereotype (e.g. Add as a tagged value to the class... I can do that, but once the stereotype is exported as a profile it does not show up (either stereotype's attributes or as a tagged value).

I believe I was previously able to do this with no problem under earlier versions of EA?

Any ideas or similar experience?

Pages: [1] 2 3 4