public class CCDActionsDiagramEditorPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint |
DIAGRAM_PREFERENCES_HINT |
static java.lang.String |
ID |
Constructor and Description |
---|
CCDActionsDiagramEditorPlugin() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory |
createAdapterFactory() |
protected void |
fillItemProviderFactories(java.util.List<org.eclipse.emf.common.notify.AdapterFactory> factories) |
static org.eclipse.jface.resource.ImageDescriptor |
findImageDescriptor(java.lang.String path)
Respects images residing in any plug-in.
|
org.eclipse.swt.graphics.Image |
getBundledImage(java.lang.String path)
Returns an image for the image file at the given plug-in relative path.
|
static org.eclipse.jface.resource.ImageDescriptor |
getBundledImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given
plug-in relative path.
|
CCDModelDocumentProvider |
getDocumentProvider() |
ElementInitializers |
getElementInitializers() |
static CCDActionsDiagramEditorPlugin |
getInstance() |
org.eclipse.jface.resource.ImageDescriptor |
getItemImageDescriptor(java.lang.Object item) |
org.eclipse.emf.common.notify.AdapterFactory |
getItemProvidersAdapterFactory() |
CCDModelBaseItemSemanticEditPolicy.LinkConstraints |
getLinkConstraints() |
static java.lang.String |
getString(java.lang.String key)
Returns string from plug-in's resource bundle
|
void |
logError(java.lang.String error) |
void |
logError(java.lang.String error,
java.lang.Throwable throwable) |
void |
logInfo(java.lang.String message) |
void |
logInfo(java.lang.String message,
java.lang.Throwable throwable) |
void |
setElementInitializers(ElementInitializers i) |
void |
setLinkConstraints(CCDModelBaseItemSemanticEditPolicy.LinkConstraints lc) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final java.lang.String ID
public static final org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint DIAGRAM_PREFERENCES_HINT
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public static CCDActionsDiagramEditorPlugin getInstance()
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory createAdapterFactory()
protected void fillItemProviderFactories(java.util.List<org.eclipse.emf.common.notify.AdapterFactory> factories)
public org.eclipse.emf.common.notify.AdapterFactory getItemProvidersAdapterFactory()
public org.eclipse.jface.resource.ImageDescriptor getItemImageDescriptor(java.lang.Object item)
public static org.eclipse.jface.resource.ImageDescriptor getBundledImageDescriptor(java.lang.String path)
path
- the pathpublic static org.eclipse.jface.resource.ImageDescriptor findImageDescriptor(java.lang.String path)
path
- the path to image, either absolute (with plug-in id as first segment), or relative for bundled imagespublic org.eclipse.swt.graphics.Image getBundledImage(java.lang.String path)
path
- the pathpublic static java.lang.String getString(java.lang.String key)
public CCDModelDocumentProvider getDocumentProvider()
public CCDModelBaseItemSemanticEditPolicy.LinkConstraints getLinkConstraints()
public void setLinkConstraints(CCDModelBaseItemSemanticEditPolicy.LinkConstraints lc)
public ElementInitializers getElementInitializers()
public void setElementInitializers(ElementInitializers i)
public void logError(java.lang.String error)
public void logError(java.lang.String error, java.lang.Throwable throwable)
public void logInfo(java.lang.String message)
public void logInfo(java.lang.String message, java.lang.Throwable throwable)