DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page How can my view in Eclipse listen to the selection made in the package explorer.
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Nov 2008
Send a message via MSN to poonam12jul
Default How can my view in Eclipse listen to the selection made in the package explorer. - 11-15-2008, 01:27 PM

Hi all,

I have a view which should display contents in a treeviewer on the fly . It has to specifically get the selections from the PackageExplorerView or ResourceNavigator view..

I did implement ISelectionChangeListener in my view, and registered it to listen to selections in the "createPartControl" method..

But I am not able to get what I should.

Please do provide me with some hints or tips.

Thanks,
Poonam.
Reply With Quote
Reply

Tags
eclipse, selectionlistener, treeviewer

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add item to right click in package explorer legolaus Eclipse 2 10-07-2009 07:49 AM
[Eclipse PDE] Accessing Package Explorer mazeli Eclipse 1 08-10-2008 02:21 PM
empty selection: ${project_name} pwaugh Eclipse 0 08-08-2008 03:10 AM
Error when launching Eclipse: In Project Explorer window: "Error creating the view" barbuceanu Eclipse 1 05-07-2008 12:41 PM
code to get the location of file in package explorer jayjamba Eclipse 1 03-18-2008 02:04 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com