How to Create or Open an Image in Eclipse Rcp
1.) Create a plugin with Activator class 2.) Check the Activator class, it should extend org.eclipse.ui.plugin.AbstractUIPlugin In case it e...
https://www.czetsuyatech.com/2021/07/java-eclipse-rcp-create-an-image.html
1.) Create a plugin with Activator class
2.) Check the Activator class, it should extend org.eclipse.ui.plugin.AbstractUIPlugin
In case it extends just Plugin then update it
3.) Add this method at the end of the Activator class
public static ImageDescriptor getImageDescriptor(String path) { return imageDescriptorFromPlugin(PLUGIN_ID, path); }You can see the implementation in the AbstractUIPlugin class.
Post a Comment