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:

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

No comments: