Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Icon for contenttype is not displayed when plugin is deployed
Icon for contenttype is not displayed when plugin is deployed [message #21146] Thu, 11 September 2008 16:23 Go to next message
Helmut Duregger is currently offline Helmut DureggerFriend
Messages: 19
Registered: July 2009
Junior Member
[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
Re: Icon for contenttype is not displayed when plugin is deployed [message #21226 is a reply to message #21146] Fri, 12 September 2008 09:03 Go to previous message
Helmut Duregger is currently offline Helmut DureggerFriend
Messages: 19
Registered: July 2009
Junior Member
Apparently the reason was that I did not explicitly include the icon
gifs for the build.

This is weird because the jar contained the gifs in the package,
I did not find any error messages in the logs and it worked fine
when tested inside the PDE run as Eclipse Application environment.
Re: Icon for contenttype is not displayed when plugin is deployed [message #579944 is a reply to message #21146] Fri, 12 September 2008 09:03 Go to previous message
Helmut Duregger is currently offline Helmut DureggerFriend
Messages: 19
Registered: July 2009
Junior Member
Apparently the reason was that I did not explicitly include the icon
gifs for the build.

This is weird because the jar contained the gifs in the package,
I did not find any error messages in the logs and it worked fine
when tested inside the PDE run as Eclipse Application environment.
Previous Topic:File | Export | PDE | Deployable Plugins - Bug with nested src
Next Topic:Running inside Eclipse and Exporting (Import-Package: Conflicts)
Goto Forum:
  


Current Time: Wed Sep 25 21:42:00 GMT 2024

Powered by FUDForum. Page generated in 0.03186 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top