Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Anyone know how to get icons for common file types?
Anyone know how to get icons for common file types? [message #637277] Thu, 04 November 2010 15:39 Go to next message
Eclipse UserFriend
I'm writing a file browser view thing which is like the package explorer but has random directories from the file system instead of a workspace. I'd like to reuse all the icons that package explorer uses for common file types like python scripts, text files, properties files, xml files, etc, etc. But can't seem to find any place to look up an image for a file like you can look up an editor for a file. Anyone know of anything?

Thanks

Max
Re: Anyone know how to get icons for common file types? [message #637297 is a reply to message #637277] Thu, 04 November 2010 18:12 Go to previous messageGo to next message
Eclipse UserFriend
Max,

Have a look at
PlatformUI.getWorkbench().getEditorRegistry().getImageDescri ptor .

Max wrote:
> I'm writing a file browser view thing which is like the package
> explorer but has random directories from the file system instead of a
> workspace. I'd like to reuse all the icons that package explorer uses
> for common file types like python scripts, text files, properties
> files, xml files, etc, etc. But can't seem to find any place to look
> up an image for a file like you can look up an editor for a file.
> Anyone know of anything?
>
> Thanks
>
> Max
Re: Anyone know how to get icons for common file types? [message #637300 is a reply to message #637297] Thu, 04 November 2010 18:41 Go to previous message
Eclipse UserFriend
Thanks, worked!

Max
Previous Topic:How to do an easy localization of eclipse platform parts?
Next Topic:Reading Command Line Parameters in RCP App
Goto Forum:
  


Current Time: Fri Jul 25 16:02:14 EDT 2025

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

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

Back to the top