Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Automatically displaying infos on the selected Part in a viewer
Automatically displaying infos on the selected Part in a viewer [message #88098] Wed, 23 July 2003 16:47 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Automatically displaying infos on the selected Part in a viewer [message #88128 is a reply to message #88113] Wed, 23 July 2003 19:20 Go to previous message
Bruno GRIEDER is currently offline Bruno GRIEDERFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks Gunnar.


> Is the GEF related? I guess not.

You are probably right but initially it is a GEF project , hence my
posting. I do not mind posting somewhere else but where?

>I would look at ISelectionListener and
getetSite#getWorkbenchWindow#getSelectionService.

Thanks. I will investigate.
Previous Topic:Re: Moveable palette
Next Topic:Re: EditPart functionality/responsibility distribution
Goto Forum:
  


Current Time: Thu Jan 02 16:21:07 GMT 2025

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

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

Back to the top