Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to select figures in a ViewPart?
How to select figures in a ViewPart? [message #1386021] Thu, 12 June 2014 22:39 Go to next message
Robin Zhou is currently offline Robin Zhou
Messages: 42
Registered: December 2010
Member
Hi, all

How to select a figure in a ViewPart, so that I can do something when slection changes?

My question is identical (I guess) to the issue pointed at http://dev.eclipse.org/mhonarc/lists/gef-dev/msg00548.html, but I cannot find an open solution.

Thanks.
Re: How to select figures in a ViewPart? [message #1386040 is a reply to message #1386021] Fri, 13 June 2014 03:21 Go to previous messageGo to next message
Alexander Nyßen is currently offline Alexander Nyßen
Messages: 43
Registered: July 2009
Location: Lünen
Member
What exactly is your use case? Do you want to programmatically select parts in the viewer or do you want to react to a selection within the viewer (performed by the user)?
Re: How to select figures in a ViewPart? [message #1386042 is a reply to message #1386040] Fri, 13 June 2014 03:30 Go to previous message
Robin Zhou is currently offline Robin Zhou
Messages: 42
Registered: December 2010
Member
Alexander Nyssen wrote on Fri, 13 June 2014 03:21
What exactly is your use case? Do you want to programmatically select parts in the viewer or do you want to react to a selection within the viewer (performed by the user)?

I want the figures (editparts) to react to a selection within the viewer performed by the user. For use case, consider the Zest example of PDE dependency, in which when a user select a plugin, its required plugins will be highlighted.
Previous Topic:How to define a content provider for graph containers?
Next Topic:Why figures do not display?
Goto Forum:
  


Current Time: Fri Aug 22 15:52:57 EDT 2014

Powered by FUDForum. Page generated in 0.01848 seconds