Icon for contenttype is not displayed when plugin is deployed [message #21146] |
Thu, 11 September 2008 12:23  |
Eclipse User |
|
|
|
[this has also been asked in eclipse.tools.cdt]
Hey,
I've written a CDT plugin that also adds a new contenttype and
editor for that contenttype with a custom icon for the file type.
No editor class/command has been specified because it is just a dummy to
get the icon for the file as stated in
http://blog.eclipse-tips.com/2008/04/content-type-specific-f ile-icons.html
Now when I launch the plugin as an Eclipse Application it works fine and
the icon is displayed.
But I can't seem to get the icon displayed for matching files when
testing the plugin by exporting it and running it inside the eclipse
plugin folder.
I've already checked the following things:
1) I came along a mailinglist/newsgroup entry that stated a similar
behaviour for a different plugin functionality. It would not update in
the base eclipse instance if the version of the plugin has not been
incremented to reflect the change, but I've tried incrementing that too.
2) When starting Eclipse with -console -noExit and then calling 'ss' the
plugin is listed ACTIVE. When inspecting with 'diag #'
'No unresolved constraints' is displayed.
3) There is no entries in the Eclipse .log about that, only that the
class for the editor is missing when a file of that type is opened.
4) I've moved the .metadata folder to bak.metadata, restarted
Eclipse and created a project with that file types, but that did not
help either. I've also re-done step 2 on this clean install.
5) The respective contenttype is listed correctly in the Eclipse
contenttype settings.
The functionality of the plugin should be combined into a single plugin
because it is related.
Do I have to split CDT and base Eclipse extensions into 2 separate
plugins to make it work?
Any idea what might be going on?
Helmut
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03949 seconds