Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Package Explorer Label Decorator Missing
Package Explorer Label Decorator Missing [message #905579] Thu, 30 August 2012 13:12 Go to next message
El Arbi Aboussoror is currently offline El Arbi Aboussoror
Messages: 90
Registered: June 2010
Member
Hi,

I reuse the JDT Package Explorer in my RPC app but some decorators are missing. Pls see the screenshot. I think that some bundles are missing with the required images but don't know how to know wich ones.


To embed the JDT Package explorer I have declared the following extension:

<view
category="fr.irit.IFclipse.view"
class="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"
icon="icons/filenav_nav.gif"
id="fr.irit.ifclipse.views.projectExplorerView"
name="Explorer"
restorable="true">
</view>
</extension>

By the way I don't find using "*.internal.*" packages very comforting, I'm wrong ?

[Updated on: Thu, 30 August 2012 17:41]

Report message to a moderator

Re: Package Explorer Label Decorator Missing [message #906009 is a reply to message #905579] Fri, 31 August 2012 09:07 Go to previous messageGo to next message
Joseph Carroll is currently offline Joseph Carroll
Messages: 174
Registered: May 2012
Location: Milwaukee, WI
Senior Member

If the JDT bundles are loaded at runtime, their manifests should be read (eg their extension points). Instead of creating your own view, just use the existing Package Explorer view in your perspective factory.

Are you sure you want to be using the package explorer and not the common navigator?
Common Navigator Framework

JD
Re: Package Explorer Label Decorator Missing [message #906124 is a reply to message #906009] Fri, 31 August 2012 12:59 Go to previous message
El Arbi Aboussoror is currently offline El Arbi Aboussoror
Messages: 90
Registered: June 2010
Member
Thank you for the CNF link. Now I have reused the Project Explorer :

      <view
            category="fr.irit.IFclipse.view"
            class="org.eclipse.ui.navigator.resources.ProjectExplorer"
            icon="icons/filenav_nav.gif"
            id="fr.irit.ifclipse.views.projectExplorerView"
            name="Explorer"
            restorable="true">
      </view>


But the label decorators are still missing.
The icon also is missing.
Previous Topic:How to find which feature contains org.eclipse.core.runtime?
Next Topic:How to customize ConsoleView and use it?
Goto Forum:
  


Current Time: Thu Jul 24 11:28:24 EDT 2014

Powered by FUDForum. Page generated in 0.02356 seconds