Results 1 to 1 of 1
- 07-26-2012, 07:21 AM #1
Member
- Join Date
- Jul 2012
- Posts
- 1
- Rep Power
- 0
How to get Project info.based on Tree node expanded(not necessarily selected) ?
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
Java Code:PlatformUI.getWorkbench().getActiveWorkbenchWindow() .getSelectionService();
Any help in this regard will be highly appreciated.
Thanks in advance !
Similar Threads
-
Node tree with weights
By brynpttrsn in forum New To JavaReplies: 1Last Post: 05-07-2012, 07:15 AM -
Showing only the child nodes for a selected node
By KarlNorway in forum XMLReplies: 11Last Post: 02-08-2012, 03:43 PM -
How to invoke a tree as if a node selected ?
By johny2011 in forum Advanced JavaReplies: 5Last Post: 05-13-2011, 09:49 AM -
Collapse previous expanded node in JTree
By png in forum AWT / SwingReplies: 0Last Post: 06-28-2010, 10:23 AM -
Get selected Node Value of a child element
By Ms.Ranjan in forum XMLReplies: 6Last Post: 10-06-2009, 10:31 PM
Bookmarks