Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the source files of eclipse icons? [closed]

Tags:

eclipse

icons

I want to use some of the icons in eclipse (package, java project, etc.) in an illustrator graphic. To get best results, I'd like to have the icons in vector format or at least an editable format. Is there any source I can get them from? I found the jar org.eclipse.jdt.ui_3.5.2.r352_v20100106-0800.jar, where all the icons are included, but unfortunately as gif files. Thank you!

like image 899
strauberry Avatar asked Oct 14 '11 08:10

strauberry


People also ask

What does the blue triangle mean in eclipse?

Blue triangle indicates default (package visible) method.

What does black asterisk mean in eclipse?

Are you using Subversion and the Sublipse plugin for Eclipse? Those black boxes with white asterisks indicate that something in that directory has changed compared to the latest version that is checked in. If its on a file, then that file has changed.

Where do you find these eclipse icons?

You may recogize a few of these icons from the eclipse.org website. I know that Denis uses them on some of his pages.

How do I find resources stored in my Plug-in’s install directory?

To find resources, such as images, that are stored in your plug-in’s install directory, you can use URLs provided by the Platform class. These URLs use a special Eclipse Platform protocol, but if you are using them only to read files, it does not matter.

How to find the file system location of a plug-in?

Bundle bundle = Platform.getBundle (yourPluginId); Path path = new Path ("icons/sample.gif"); URL fileURL = FileLocator.find (bundle, path, null); InputStream in = fileURL.openStream (); If you need to know the file system location of a plug-in, you need to use FileLocator.resolve (URL).


2 Answers

Eclipse has a User Interface Guidelines wiki page, where it is described how to create your own icons. Also, it includes several templates of the common elements, which you can use for base of your own icons:

  • Common elements
  • Core wizards elements
  • Core icons elements
  • etc.

There is a chance that the icon you want is not available, but it is worth a try.

like image 190
Danail Nachev Avatar answered Oct 19 '22 12:10

Danail Nachev


There is a GIT repository at Eclipse with SVG sources for many of the icons: https://git.eclipse.org/c/platform/eclipse.platform.images.git/

It doesn't have all of them, since the SVG version of the icons started as an individual project, and then it was adopted by Eclipse. However it's a great source to create your own icons that follows the Eclipse style.

like image 38
Diego Avatar answered Oct 19 '22 14:10

Diego