Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to get selected diagram element with java plugin
How to get selected diagram element with java plugin [message #1809176] Wed, 10 July 2019 14:52 Go to next message
Matteo Ricci is currently offline Matteo RicciFriend
Messages: 2
Registered: July 2019
Junior Member
Hello,

My idea was to take the selected item from the mouse on the editor through an external java plugin.
Is there any listener that I can use and that Sirius makes available through extension points / API?

Thanks,
Matteo
Re: How to get selected diagram element with java plugin [message #1809440 is a reply to message #1809176] Tue, 16 July 2019 09:11 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 228
Registered: August 2010
Senior Member
Hi Matteo,

There is nothing specific to Sirius. You can use the Selection Service from the Eclipse workbench: https://www.eclipse.org/articles/Article-WorkbenchSelections/article.html

Florian
Re: How to get selected diagram element with java plugin [message #1810136 is a reply to message #1809440] Thu, 01 August 2019 07:44 Go to previous message
Matteo Ricci is currently offline Matteo RicciFriend
Messages: 2
Registered: July 2019
Junior Member
thank you so much for your help :)
Previous Topic:Java Service Not Called From Style Customization
Next Topic:Why can't the official website enter?
Goto Forum:
  


Current Time: Thu Oct 24 04:54:40 GMT 2019

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

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

Back to the top