Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to open the editor on given element in given diagram ?
How to open the editor on given element in given diagram ? [message #596160] Wed, 16 December 2009 09:12 Go to next message
LoÃ?¯c QuÃ?©ran is currently offline LoÃ?¯c QuÃ?©ranFriend
Messages: 45
Registered: July 2009
Member
Starting from an instance of PapyrusMultiDiagramEditor, I would like to select a given diagram, to select a list of elements in this diagram and to reveal them.

Is there an API for this ? If not, how can I achieve it ?

What puzzles me is that the editor exposes a getDiagram() method although there may be many diagrams.

Thanks for any help.
Re: How to open the editor on given element in given diagram ? [message #596168 is a reply to message #596160] Wed, 16 December 2009 10:42 Go to previous message
Yann Tanguy is currently offline Yann TanguyFriend
Messages: 80
Registered: July 2009
Member
I'm not sure to understand what you are trying to do.

- do you try to select an existing diagram or do you want to create a
new instance of a specific kind of diagram (let's say create a new class
diagram) ?

- do you want to select UML2 elements existing in the model and make
them appear programmatically in a diagram ? Or are you trying to select
the graphical representation of a set of elements in the diagram and
find the UML2 elements they represent in the model ?

LoÃ?¯c QuÃ?©ran a écrit :
> Starting from an instance of PapyrusMultiDiagramEditor, I would like to
> select a given diagram, to select a list of elements in this diagram and
> to reveal them.
>
> Is there an API for this ? If not, how can I achieve it ?
>
> What puzzles me is that the editor exposes a getDiagram() method
> although there may be many diagrams.
>
> Thanks for any help.
Previous Topic:How to open the editor on given element in given diagram ?
Next Topic:How to run Papyrus MDT (nightly build)
Goto Forum:
  


Current Time: Sat Aug 08 00:47:24 GMT 2020

Powered by FUDForum. Page generated in 0.04379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top