Automatically displaying infos on the selected Part in a viewer [message #88098] |
Wed, 23 July 2003 16:47 |
Eclipse User |
|
|
|
Originally posted by: bgrieder.nospam.thanks
Hi,
I have an Editor where I create various parts and a View (ViewPart).
When I select one of the Parts in the Editor, I would like that
information on the part is displayed in my view.
Can someone please point me to the basic steps I have to take in order
to implement the listener(s)?
Many Thanks in advance.
bruno
|
|
|
Re: Automatically displaying infos on the selected Part in a viewer [message #88113 is a reply to message #88098] |
Wed, 23 July 2003 17:53 |
Eclipse User |
|
|
|
Originally posted by: g.wagenknecht.planet-wagenknecht.de
Bruno Grieder wrote:
> Can someone please point me to the basic steps I have to take in order
> to implement the listener(s)?
Is the GEF related? I guess not. But anyway, I'm not sure but I would look
at ISelectionListener and getSite#getWorkbenchWindow#getSelectionService.
There are activate/selection events available for all workbench parts. I
think the view can listen to this and filter out relevant parts.
Cu, Gunnar
|
|
|
|
Powered by
FUDForum. Page generated in 0.03570 seconds