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!
Blue triangle indicates default (package visible) method.
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.
You may recogize a few of these icons from the eclipse.org website. I know that Denis uses them on some of his pages.
To find resources, such as images, that are stored in your plug-ins 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.
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).
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:
There is a chance that the icon you want is not available, but it is worth a try.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With