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 #503886] 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 #503905 is a reply to message #503886] 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:Survey on the application of UML in the maintainence of legacy systems.
Next Topic:How to open the editor on given element in given diagram ?
Goto Forum:
  


Current Time: Thu Apr 25 15:35:21 GMT 2024

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

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

Back to the top