|Access to selected object on the diagram editor from Java code [message #689912]
||Tue, 28 June 2011 15:21
| Denis Makartetskiy
Registered: June 2011
Dear All, |
i was trying to get access to an object on the SysML requirement diagram and coult'd manage to do that.
I figured out what selection listener has to implemented for that, so I did it. Further, every view has to provide selection by implementing ISelectionProvider interface.
Please, could you please tell me if SelectionProvider exists for Papyrus editor?
If not, which is the easier way to get an access to selected object/class (namely to its name and to its attributes) from Java code?
Thank you all.
Powered by FUDForum
. Page generated in 0.08681 seconds