[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] How do I specify icons for folders in the Resource Navigator?

Hi,
I defined an ActionDelegate for IFolder nodes with certain extension, say
*.xyz;
my menu item appears in the popup, but my icon specified in the plugin.xml
is ignored.
Is it possible to assign alternative icons to folders based on their names?
Here is the corresponding part from my plugin.xml:

<extension point="org.eclipse.ui.popupMenus">

<objectContribution

id="com.ephonaut.eqqo.ui.rep.EOpenRepActionDelegate"

objectClass="org.eclipse.core.resources.IFolder"

nameFilter="*.eqqo.fs">

<action

id="com.ephonaut.eqqo.ui.rep.EOpenRepActionDelegate"

label="Eqqo Explorer"

style="push"

menubarPath="org.eclipse.ui.OpenWithSubMenu"

icon="./icons/eqqo.gif"

class="com.ephonaut.eqqo.ui.rep.EOpenRepActionDelegate"

enablesFor="1">

</action>

</objectContribution>

</extension>



thank you
-av