Hiding project name in CommonNavigator [message #550101] |
Thu, 29 July 2010 03:16  |
Eclipse User |
|
|
|
Is there a way of hiding root workspace project name when using CommonNavigator Framework?
I create one project called "Reports" and set its absolute location on drive c:\ using code below:
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("Reports") ;
if (!project.exists()) {
IProjectDescription desc = workspace.newProjectDescription("Reports");
desc.setLocation(new Path('c:\something'));
project.create(desc, null);
}
The Common Navigator shows main folder (project) "Reports" and under it all folders contained by the location I set using 'desc' object ('c:\something') which looks something like this:
Reports
That is all correct, but my question is whether I can somehow hide the very first node which is "Reports" that is not really a folder but just project name.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03756 seconds