Class EMFProfileDiagramEditorPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.modelversioning.emfprofile.diagram.part.EMFProfileDiagramEditorPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
- Generated class or method.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint
static final String
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ComposedAdapterFactory
protected void
fillItemProviderFactories
(List<AdapterFactory> factories) static ImageDescriptor
findImageDescriptor
(String path) Respects images residing in any plug-in.getBundledImage
(String path) Returns an image for the image file at the given plug-in relative path.static ImageDescriptor
Returns an image descriptor for the image file at the given plug-in relative path.getItemImageDescriptor
(Object item) static String
Returns string from plug-in's resource bundlevoid
void
void
void
void
void
void
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
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
ID
- See Also:
- Generated class or method.
-
DIAGRAM_PREFERENCES_HINT
public static final org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint DIAGRAM_PREFERENCES_HINT- Generated class or method.
-
-
Constructor Details
-
EMFProfileDiagramEditorPlugin
public EMFProfileDiagramEditorPlugin()- Generated class or method.
-
-
Method Details
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classAbstractUIPlugin
- Throws:
Exception
- Generated class or method.
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classAbstractUIPlugin
- Throws:
Exception
- Generated class or method.
-
getInstance
- Generated class or method.
-
createAdapterFactory
- Generated class or method.
-
fillItemProviderFactories
- Generated class or method.
-
getItemProvidersAdapterFactory
- Generated class or method.
-
getItemImageDescriptor
- Generated class or method.
-
getBundledImageDescriptor
Returns an image descriptor for the image file at the given plug-in relative path.- Parameters:
path
- the path- Returns:
- the image descriptor
- Generated class or method.
-
findImageDescriptor
Respects images residing in any plug-in. If path is relative, then this bundle is looked up for the image, otherwise, for absolute path, first segment is taken as id of plug-in with image- Parameters:
path
- the path to image, either absolute (with plug-in id as first segment), or relative for bundled images- Returns:
- the image descriptor
- Generated class or method.
-
getBundledImage
Returns an image for the image file at the given plug-in relative path. Client do not need to dispose this image. Images will be disposed automatically.- Parameters:
path
- the path- Returns:
- image instance
- Generated class or method.
-
getString
Returns string from plug-in's resource bundle- Generated class or method.
-
getDocumentProvider
- Generated class or method.
-
getLinkConstraints
- Generated class or method.
-
setLinkConstraints
- Generated class or method.
-
getElementInitializers
- Generated class or method.
-
setElementInitializers
- Generated class or method.
-
getEMFProfileOCLFactory
- Generated class or method.
-
setEMFProfileOCLFactory
- Generated class or method.
-
logError
- Generated class or method.
-
logError
- Generated class or method.
-
logInfo
- Generated class or method.
-
logInfo
- Generated class or method.
-