Class TAEConfiguratorPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.apache.uima.taeconfigurator.TAEConfiguratorPlugin
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class TAEConfiguratorPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
The main plugin class to be used in the desktop.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe Constant IMAGE_ANNOTATOR.static final StringThe Constant IMAGE_BIG_AE.static final StringThe Constant IMAGE_BIG_T_S.static final StringThe Constant IMAGE_BLANK.static final StringThe Constant IMAGE_COMMON.static final StringThe Constant IMAGE_EDITOR.static final StringThe Constant IMAGE_FORM_BANNER.static final StringThe Constant IMAGE_GELB.static final StringThe Constant IMAGE_GROUP.static final StringThe Constant IMAGE_MREFOK.static final StringThe Constant IMAGE_NOMREF.static final StringThe Constant IMAGE_PARAMETER.static final StringThe Constant IMAGE_T_S.static final StringThe Constant IMAGE_TH_HORIZONTAL.static final StringThe Constant IMAGE_TH_VERTICAL.static StringThe plugin id.Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TAEConfiguratorPluginReturns the shared instance.org.eclipse.ui.forms.FormColorsgetFormColors(org.eclipse.swt.widgets.Display display) On first call, gets a formColors instance; on subsequent calls, returns that instance.static org.eclipse.swt.graphics.ImageGets the image.org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String imageFile) Gets the image descriptor.Returns the plugin's resource bundle,.static StringgetResourceString(String key) Returns the string from the plugin's resource bundle, or 'key' if not found.static org.eclipse.core.resources.IWorkspaceReturns the workspace instance.voidstop(org.osgi.framework.BundleContext context) This method is called when the plug-in is stopped.Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, start, startupMethods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
IMAGE_ANNOTATOR
-
IMAGE_BIG_AE
-
IMAGE_BIG_T_S
-
IMAGE_BLANK
-
IMAGE_COMMON
-
IMAGE_EDITOR
-
IMAGE_FORM_BANNER
-
IMAGE_GELB
-
IMAGE_GROUP
-
IMAGE_PARAMETER
-
IMAGE_T_S
-
IMAGE_TH_HORIZONTAL
-
IMAGE_TH_VERTICAL
-
IMAGE_MREFOK
-
IMAGE_NOMREF
-
pluginId
The plugin id.
-
-
Constructor Details
-
TAEConfiguratorPlugin
public TAEConfiguratorPlugin()The constructor, version 3.
-
-
Method Details
-
getDefault
-
getWorkspace
public static org.eclipse.core.resources.IWorkspace getWorkspace()Returns the workspace instance.- Returns:
- the workspace
-
getResourceString
-
stop
This method is called when the plug-in is stopped.- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.ui.plugin.AbstractUIPlugin- Parameters:
context- the context- Throws:
Exception- -
-
getFormColors
public org.eclipse.ui.forms.FormColors getFormColors(org.eclipse.swt.widgets.Display display) On first call, gets a formColors instance; on subsequent calls, returns that instance.- Parameters:
display- the display- Returns:
- a formColors instance
-
getResourceBundle
Returns the plugin's resource bundle,.- Returns:
- the resource bundle
-
getImage
Gets the image.- Parameters:
imageFile- the image file- Returns:
- the image
-
getImageDescriptor
Gets the image descriptor.- Parameters:
imageFile- the image file- Returns:
- the image descriptor
-