Login | Register
My pages Projects Community openCollabNet

Discussions > modules-dev > [argouml-modules-dev] Getting from Fig to MModelElement?

argouml
Discussion topic

Back to topic list

[argouml-modules-dev] Getting from Fig to MModelElement?

Author Susanne Sherba <Susanne dot Sherba at Colorado dot EDU>
Full name Susanne Sherba <Susanne dot Sherba at Colorado dot EDU>
Date 2003-06-05 08:51:59 PDT
Message Hi,

I'm new to module development and was wondering if someone could answer a
question:

I'm trying to get at the underlying MModelElement for a particular Fig.

I'm getting the selected Fig via the SelectionManager:

SelectionManager sm = ce.getSelectionManager();
Vector curSelections = sm.selections();
Selection s = (Selection) curSelections.elementAt(0);
Fig f = s.getContent();

>From here, I'd like to get to the MModelElement associated with the Fig.
Is there a way to do this?

Thanks in advance.

Susanne



--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: modules-dev-unsubscr​ibe at argouml dot tigris.o​rg
For additional commands, e-mail: modules-dev-help@arg​ouml.tigris.org

« Previous message in topic | 1 of 3 | Next message in topic »

Messages

Show all messages in topic

[argouml-modules-dev] Getting from Fig to MModelElement? Susanne Sherba <Susanne dot Sherba at Colorado dot EDU> Susanne Sherba <Susanne dot Sherba at Colorado dot EDU> 2003-06-05 08:51:59 PDT
     Re: [argouml-modules-dev] Getting from Fig to MModelElement? andreas Andreas Rueckert 2003-06-05 09:03:29 PDT
         Re: [argouml-modules-dev] Getting from Fig to MModelElement? Susanne Sherba <Susanne dot Sherba at Colorado dot EDU> Susanne Sherba <Susanne dot Sherba at Colorado dot EDU> 2003-06-05 10:18:05 PDT
Messages per page: