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.


Topics - David Rains

Pages: [1] 2
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
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...

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


4
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

5
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

6
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


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

8
General Board / How to indicated ABSTRACT Use Case in 9.0?
« on: August 22, 2011, 01:13:38 am »
I am new to version 9.0 (experienced in 7.5) and can't seem to find how you indicate a Use Case is abstract (there is NOT a 'details' branch as there is under a class - detail: abstract)

Thanks

9
Bugs and Issues / Unable to Cut & Paste in Script IDE
« on: October 11, 2014, 01:42:56 am »
Upgraded to latest release - anyone else having C&P issues when editing scripts?

10
Bugs and Issues / Tagged Values - Resynch not adding missing tag
« on: August 02, 2011, 12:54:02 am »
Running V9 and when I change a stereotype, save it as a profile, then reload the profile and resynch the "new" stereotype it no longer propogates the changes (was at 7.5).

Similar problem if you assign a Enum type before you define it. IF you do that then the drop-down will not be active when you are using the tagged value (previous behavinsor) but you simply correct it by going back to you stereotype force the connection by choosing the created enum from the list, save profile, import, resynch problem solved. This in NO longer the case.

BIG ISSUE for me as I can have hundreds on classes using a stereotype and now have no way to add new tags?!

David Rains

11
The documentation for the related Select <Item> Dialog indicates that you can select attributes, etc.

And even the InvokeConstructPicker will allow you to filter for attributes, but on clicking OK... alas a 0 is returned.

I need to be able to use the InvokeConstructPicker capability to allow a user to specify a state, operation, or attribute (besides an element).

Any ideas on how I can go about this (I'm doing this in VBscript)

Thanks as always...
 ;)

12
Doing some work prototyping a solution to derive connector tagged values based on what element feature (operation or attribute) the connector is linked too... PART of my effort to implement SBV within requirement engineering using EA...

t_connector.StyleEx seems to use LFEP/LSEP prefixes regardless if it is an operation or an attribute.

vbScript function - to extract GUID of LinkedToElementFeature

public function IsConnector_LinkedToFeature( byval styleEx_Value, byval connectorEnd2Check, byref targetFeaturedGUID )
      'Example: Links to Attributes
      ' LFEP={B7306EA4-E8F3-4743-80EE-BDF36534E1AF}L;LFSP={0C85C78D-9173-4cf4-A2C2-85BE7C8FB7B4}R;
      'Note: Prefix LFEP/LFSP are the same regardless of link to feature's attribute or operation
      dim strTargetPrefix, iStartPosOfGUID
      dim blnResult
      blnResult = False
      if len( styleEx_Value ) > 0 then
            select case lcase(connectorEnd2Check)
                  case gcStrTARGET_END
                        strTargetPrefix = "LFEP="
                  case gcStrSOURCE_END
                        strTargetPrefix = "LFSP="
                  case else
                        msgbox "reClassLibrary.IsConnector_LinkedToFeature - Expected value of 'target' or 'source'"
            end select
            'Search for start of Target GUID
            iStartPosOfGUID = instr( styleEx_Value, strTargetPrefix )
            if iStartPosOfGUID > 0 then
                  blnResult = True
                  targetFeaturedGUID  = mid( styleEx_Value, iStartPosOfGUID + len( strTargetPrefix ), gcEA_GUID_LENGTH )
            end if
      end if
      IsConnector_LinkedToFeature= blnResult
end function

ANYONE interesting in SBV & SBVR give me a holler!  :)

13
strSQL = "SELECT t_object.ea_guid FROM t_object"
set c = Repository.GetElementSet(strSQL,2)
msgbox c.count

running the script that contains this fragment gives the DAO error:
DAO.fields [3265] item not found in this collection

Works fine in the query builder but not in my script?

Thanks,

David

14
Working with the Glossary (Term)... I need to understand the CRUD operations for using the glossary.

I understand  Term is the entry object, but is there a collection that represents the entire glossary? I assumed it would work like working with an element collection e.g., element's connectors (collection) the getat etc,

Do I need to do this via SQL?

Thanks,
David

15
I seem to be unable to get my include to work... Keep getting errors like
"Expected Statement, Line 1"

Could I see a post of a simple "Hello World" example... e.g., included function returns a simple string value?

Thanks,

David

Pages: [1] 2