|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
pl.edu.agh.cast.Activator
public class Activator
The activator class controls the plug-in life cycle.
Field Summary | |
---|---|
static String |
NO_STD_OUT_ERR_REDIRECT
The application argument flag for switching off standard output and error stream redirection. |
static String |
NODE_ICON_FACTORY
Name of the factory attribute of pl.edu.agh.cast.nodeIcons extension point. |
static String |
PLUGIN_ID
The plugin ID. |
static String |
RESOURCE_TAG_DATA_MODEL
Tag for visual resources used in editors. |
static String |
RESOURCE_TAG_EDITOR
Tag for visual resources used in editors. |
static String |
STATISTIC_CLASS
Name of the point attribute of pl.edu.agh.cast.statistics extension point. |
static String |
STATISTIC_DESCRIPTION
Name of the description attribute of pl.edu.agh.cast.statistics extension point. |
static String |
STATISTIC_NAME
Name of the name attribute of pl.edu.agh.cast.statistics extension point. |
static String |
STATISTIC_SOURCE_LABEL
Name of the source_label attribute of pl.edu.agh.cast.statistics extension point. |
static String |
STATISTIC_TARGET_LABEL
Name of the target_label attribute of pl.edu.agh.cast.statistics extension point. |
static String |
STD_OUT_ERR_FILE
The name of the standard output and error stream redirection file. |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
Activator()
The constructor. |
Method Summary | |
---|---|
static List<ConverterReference> |
getDataSetConverterReferences()
Returns list of ConverterSpecification read from extension point
pl.edu.agh.cast.data.converter . |
static Activator |
getDefault()
Returns the shared instance. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative path. |
static org.apache.log4j.Logger |
getLogger()
Returns Logger instance for this plugin. |
static org.eclipse.core.runtime.IConfigurationElement[] |
getNodeIconsConfigurations()
Returns configurations of extensions for pl.edu.agh.cast.nodeIcons extension point. |
static List<IVisualResourcesProvider> |
getResourcesProviders()
Returns list of IVisualResourcesProvider providers read from extension point
pl.edu.agh.cast.resource.provider . |
static org.eclipse.core.runtime.IConfigurationElement[] |
getStatisticsConfigurations()
Returns configurations of extensions for pl.edu.agh.cast.statistics extension point. |
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, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PLUGIN_ID
public static final String STD_OUT_ERR_FILE
public static final String NO_STD_OUT_ERR_REDIRECT
public static final String STATISTIC_NAME
pl.edu.agh.cast.statistics
extension point.
public static final String STATISTIC_CLASS
pl.edu.agh.cast.statistics
extension point.
public static final String STATISTIC_TARGET_LABEL
pl.edu.agh.cast.statistics
extension point.
public static final String STATISTIC_SOURCE_LABEL
pl.edu.agh.cast.statistics
extension point.
public static final String STATISTIC_DESCRIPTION
pl.edu.agh.cast.statistics
extension point.
public static final String NODE_ICON_FACTORY
pl.edu.agh.cast.nodeIcons
extension point.
public static final String RESOURCE_TAG_EDITOR
IVisualResource
,
Constant Field Valuespublic static final String RESOURCE_TAG_DATA_MODEL
IVisualResource
,
Constant Field ValuesConstructor Detail |
---|
public Activator()
Method Detail |
---|
public static org.apache.log4j.Logger getLogger()
Logger
instance for this plugin.
Logger
instancepublic void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
AbstractUIPlugin.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
AbstractUIPlugin.stop(org.osgi.framework.BundleContext)
public static Activator getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path
- the path
public static org.eclipse.core.runtime.IConfigurationElement[] getStatisticsConfigurations()
pl.edu.agh.cast.statistics
extension point.
public static org.eclipse.core.runtime.IConfigurationElement[] getNodeIconsConfigurations()
pl.edu.agh.cast.nodeIcons
extension point.
public static List<IVisualResourcesProvider> getResourcesProviders()
IVisualResourcesProvider
providers read from extension point
pl.edu.agh.cast.resource.provider
. All errors during providers initialization are logged and
ignored.
public static List<ConverterReference> getDataSetConverterReferences()
ConverterSpecification
read from extension point
pl.edu.agh.cast.data.converter
. All errors during converter initialization are logged and ignored.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |