2009-02-03

Eclipse RCP & ImageDescriptor

If you what to use icons, which located in project packages, but isn't defined as shared resources in ISharedImages you coud use it in such way:


somthAction.setImageDescriptor(Plugin.imageDescriptorFromPlugin("org.eclipse.ui",
"/icons/full/etool16/save_edit.gif"));

No comments: