Custom Label Provider not firing for org.eclipse.core.resources.IFile [message #534758] |
Thu, 20 May 2010 05:11  |
Eclipse User |
|
|
|
Hi all
I am trying to setup a custom label provider for my RCP app.
I am trying to provide custom icons (and maybe later labels) for the
resources in my workspace.
Here is the relevant section of plugin.xml (that works for folders), that
doesn't seem to work for the files contained in the Folder/Project.
<navigatorContent
activeByDefault="true"
contentProvider="ui.main.customnavigator.CustomContentProvider "
id="ui.main.customcontent"
labelProvider="ui.main.customnavigator.CustomLabelProvider"
name="customlabel"
providesSaveables="true">
<triggerPoints>
<instanceof
value="org.eclipse.core.resources.IProject">
</instanceof>
</triggerPoints>
I have tried adding
<instanceof
value="org.eclipse.core.resources.IFile">
</instanceof>
in an <or> inside the trigger points, but still no joy in firing the custom
label provider for files.
Is org.eclipse.core.resources.IFile the correct type for the navigator?
Should I be using some other style of operator within the <triggerpoints>
element?
Any help much appreciated
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 3.46459 seconds