org.eclipse.gmf.map.editor.part
Class GMFMapDiagramEditorPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.gmf.map.editor.part.GMFMapDiagramEditorPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class GMFMapDiagramEditorPlugin
- extends org.eclipse.ui.plugin.AbstractUIPlugin
- Generated
Fields inherited from class org.eclipse.core.runtime.Plugin |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
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, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
ID
public static final String ID
- See Also:
- Constant Field Values
- Generated
DIAGRAM_PREFERENCES_HINT
public static final org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint DIAGRAM_PREFERENCES_HINT
- Generated
GMFMapDiagramEditorPlugin
public GMFMapDiagramEditorPlugin()
- Generated
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Overrides:
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
- Generated
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Overrides:
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
- Generated
getInstance
public static GMFMapDiagramEditorPlugin getInstance()
- Generated
createAdapterFactory
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory createAdapterFactory()
- Generated
fillItemProviderFactories
protected void fillItemProviderFactories(List factories)
- Generated
getItemProvidersAdapterFactory
public org.eclipse.emf.common.notify.AdapterFactory getItemProvidersAdapterFactory()
- Generated
getItemImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getItemImageDescriptor(Object item)
- Generated
getBundledImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getBundledImageDescriptor(String path)
- Returns an image descriptor for the image file at the given
plug-in relative path.
- Parameters:
path
- the path
- Returns:
- the image descriptor
- Generated
findImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor findImageDescriptor(String path)
- 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
getBundledImage
public org.eclipse.swt.graphics.Image getBundledImage(String path)
- 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
logError
public void logError(String error)
- Generated
logError
public void logError(String error,
Throwable throwable)
- Parameters:
throwable
- actual error or null could be passed- Generated
logInfo
public void logInfo(String message)
- Generated
logInfo
public void logInfo(String message,
Throwable throwable)
- Parameters:
throwable
- actual error or null could be passed- Generated
Copyright © 2012. All Rights Reserved.