Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Add icon association own file
Add icon association own file [message #461044] Thu, 04 January 2007 07:10 Go to next message
Eclipse UserFriend
Hi all!
I've created a plugin that produce some file with own extension.
Someone can tell me how i can to set icon association by code?
I would like that who install my plugin, see these file with a particolar
icon.
What can i do?
Thanks!
Samuele.
Re: Add icon association own file [message #461060 is a reply to message #461044] Thu, 04 January 2007 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krzysztofHMMMMdaniel.gmail.com

Hi Samuel
I do not know if it is the best solution but you can add your own editor
(extension point org.eclipse.ui.editor) to your plugin (extending f.e.
TextEditor), set it to default, set its *icon*, associate it with your
extension, and enjoy your own icons ;).
All those things you have to do in your plugin.xml (Extensions tab).

Let me know if it helps.

Krzysztof Daniel
Re: Add icon association own file [message #461062 is a reply to message #461060] Thu, 04 January 2007 11:21 Go to previous message
Eclipse UserFriend
Thanks Daniel!
It
Previous Topic:Initializing Preferences
Next Topic:Asterisk in the editor's title
Goto Forum:
  


Current Time: Wed Mar 19 06:36:35 EDT 2025

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

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

Back to the top