I have defined a language neutral addin that is attempting to define a
sortcut menu on roles but I'm getting very strange behavior.
I have no problem retrieving the selected role using the following sequence
of statements (from VB)
Dim items As RoseItemCollection
Set items = theRoseApp.CurrentModel.GetSelectedItems
Set getSelectedItem = items.GetAt(1)
as long as I select the role when it appears as a child of RoseAssociation.
If I right click on the role when it appears as a child of the Class, the
"items" collection is empty.
Is this expected behavior?
-David
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************