[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Can I hide the file items while showing the sub-tree beneath them on the navigator?

Hello nemo,

+AD4- I need to hide the model file item in the navigator tree, but I have
+AD4- to show
+AD4- the sub-tree to display the content of the hided model file. How can I
Are you going to display this sub-tree directly below the filder node containing the model file? File nodes are provided to navigator by standard file-folder provider, so the only one way to hide something from there is to use filters for Project Explorer. If you have to put all the diagram contents below any other navigator node you should modify generated ???NavigatorContentProvider.getChildren(Object parentElement) method. In particular - if (parentElement instanceof IFile) branch.


-----------------
Alex Shatalin