|Re: SelectionListener for GraphicalEditor [message #792799 is a reply to message #778337]
||Tue, 07 February 2012 12:22
On 12.01.2012 13:56, markizik maa wrote:|
> Is there a way to add SelectionListener for GraphicalEditor
> I have a jface viewer, when user selects a node in treeview i want to
> select matched object in GraphicalEditor.
> Foe this I need listener...
> What should I do?
Hi, in addition to Marcel's hint, I recommend you to take a look at the
class org.eclipse.gef.ui.parts.SelectionSynchronizer, which is a
generically implementats ISelectionChangedListener. Probably, you can
directly use this class for your Viewer.
Powered by FUDForum
. Page generated in 0.02486 seconds