Package org.eclipse.epsilon.common.dt
Class AbstractEpsilonUIPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.ui.plugin.AbstractUIPlugin
-
- org.eclipse.epsilon.common.dt.AbstractEpsilonUIPlugin
-
- All Implemented Interfaces:
EpsilonPlugin
,org.osgi.framework.BundleActivator
- Direct Known Subclasses:
EclPlugin
,EglPlugin
,EmlPlugin
,EolPlugin
,EplPlugin
,EpsilonCommonsPlugin
,ErlPlugin
,EtlPlugin
,EvlPlugin
,EwlPlugin
,ExeedPlugin
,FlockDevelopmentToolsPlugin
,HutnPlugin
,PinsetPlugin
public abstract class AbstractEpsilonUIPlugin extends org.eclipse.ui.plugin.AbstractUIPlugin implements EpsilonPlugin
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.jface.resource.ImageRegistry
imageDescriptorRegistry
protected static HashMap<Class<?>,AbstractEpsilonUIPlugin>
plugins
-
Constructor Summary
Constructors Constructor Description AbstractEpsilonUIPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.graphics.Image
createImage(String path)
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String path)
protected org.eclipse.jface.resource.ImageRegistry
getImageDescriptorRegistry()
void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
-
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
-
-
-
-
Field Detail
-
plugins
protected static HashMap<Class<?>,AbstractEpsilonUIPlugin> plugins
-
imageDescriptorRegistry
protected org.eclipse.jface.resource.ImageRegistry imageDescriptorRegistry
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
getImageDescriptorRegistry
protected org.eclipse.jface.resource.ImageRegistry getImageDescriptorRegistry()
-
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
-
createImage
public org.eclipse.swt.graphics.Image createImage(String path)
- Specified by:
createImage
in interfaceEpsilonPlugin
-
-