| CNF: Project has always children [message #882525] |
Wed, 06 June 2012 12:24  |
John M. Messages: 158 Registered: July 2010 |
Senior Member |
|
|
Hello,
I am trying to create my own CNF content and it works so far, but I don't get it working, that a empty project doesn't get the "child" symbol.
In my hasChildren method I return false to test the system.
Thanks for any advices.
[Updated on: Wed, 06 June 2012 12:53] Report message to a moderator
|
|
|
|
| Re: CNF: Project has always children [message #884683 is a reply to message #882525] |
Mon, 11 June 2012 11:45  |
John M. Messages: 158 Registered: July 2010 |
Senior Member |
|
|
The class org.eclipse.ui.internal.navigator.resources.workbench.ResourceExtensionContentProvider is responsible for the "incorrect" input.
Extending isn't possible, because it is an internal class. You can extend the WorkbenchContentProvider, but there are a lots of stuff missing like the automatic refresh of the navigator or the correct sorting, that means the folders are listed with the files and not seperated at the top of the list.
|
|
|
Powered by
FUDForum. Page generated in 0.01543 seconds