Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » How to get Project info. based on tree node expanded(not necessarliy selected) ?
How to get Project info. based on tree node expanded(not necessarliy selected) ? [message #898246] Thu, 26 July 2012 00:39
Eclipse UserFriend
I have added a javascript library to my project programatically. I add different versions of library based on user preference during project creation.

I am able to achieve this but I am not able to retain the project information once the library creation is finished.

This is needed because you might have more than one project in your workspace with different library versions, so it becomes crucial to know which is the project in question when a user expands the tree node under javascript resources, where I add my library. If the user selects a project then expands the tree node I can get the Project info through
PlatformUI.getWorkbench().getActiveWorkbenchWindow()
                    .getSelectionService();

but if the user just expands the tree node without selection of project, how can I know which project does that belong to ?...

Any help in this regard will be highly appreciated.

Thanks in advance !
Previous Topic:Build a product with duplicated plugins (but different versions)
Next Topic:PDE build clarification
Goto Forum:
  


Current Time: Thu Jul 03 10:28:08 EDT 2025

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

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

Back to the top