public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_ID |
Constructor and Description |
---|
Activator()
The constructor
|
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 |
getBundledImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in
relative path.
|
static Activator |
getDefault()
Returns the shared instance
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in
relative path
|
static Activator |
getInstance() |
org.eclipse.emf.common.notify.AdapterFactory |
getItemProvidersAdapterFactory() |
IMarkingEditorComponentFactory |
getMarkingEditorComponentFactory() |
static java.lang.String |
getString(java.lang.String key)
Returns string from plug-in's resource bundle
|
static java.lang.String |
getUniqueFileName(org.eclipse.core.runtime.IPath containerFullPath,
java.lang.String fileName,
java.lang.String extension) |
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) |
static void |
setCharset(org.eclipse.core.resources.IFile file) |
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 PLUGIN_ID
public static java.lang.String getString(java.lang.String key)
public IMarkingEditorComponentFactory getMarkingEditorComponentFactory()
public static Activator getInstance()
public static org.eclipse.jface.resource.ImageDescriptor getBundledImageDescriptor(java.lang.String path)
path
- the pathpublic static java.lang.String getUniqueFileName(org.eclipse.core.runtime.IPath containerFullPath, java.lang.String fileName, java.lang.String extension)
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
protected void fillItemProviderFactories(java.util.List<org.eclipse.emf.common.notify.AdapterFactory> factories)
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory createAdapterFactory()
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 Activator getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the pathpublic 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)
public org.eclipse.emf.common.notify.AdapterFactory getItemProvidersAdapterFactory()
public static void setCharset(org.eclipse.core.resources.IFile file)