no

How to open or create an image using eclipse-rcp plugin

1.) Create a plugin with Activator class 2.) Check the Activator class, it should extend org.eclipse.ui.plugin.AbstractUIPlugin In case it e...

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.

Related

java 7005794152553694253

Post a Comment

item