error icon on file not visible [message #1495645] |
Tue, 02 December 2014 06:37  |
Eclipse User |
|
|
|
In my project the user sees the red cross icon on the file containing an error and the folders above. When the modelling nature is added to the project the red cross dissapears on the file (not on the folders).
How can i have the modelling nature and keep the error icon on the file?
I can get information about the content extension which probably causes the problem
IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); ProjectExplorer expl = (ProjectExplorer) page.findView(IPageLayout.ID_PROJECT_EXPLORER);
INavigatorContentService content = expl.getNavigatorContentService();
INavigatorContentExtension siriusext = content.getContentExtensionById("org.eclipse.sirius.ui.resource.content.session");
siriusext.getDescriptor().getAppearsBeforeId();
The problem is probably that the sirius INavigatorContentService is set to appear before id "org.eclipse.jdt.java.ui.javaContent"
(siriusext.getDescriptor().getAppearsBeforeId())
How can i (have the modelling nature and) keep the error icon on the file?
Any help is appreciated!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03882 seconds