org.eclipse.actf.model
Class ModelPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.actf.core.ActfCorePlugin
org.eclipse.actf.model.ModelPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
- Direct Known Subclasses:
- AccessibilityServicePlugin, DomModelPlugin, MozdomModelPlugin, ValidationCorePlugin
public class ModelPlugin
- extends ActfCorePlugin
The activator class controls the plug-in life cycle
Fields inherited from class org.eclipse.actf.core.ActfCorePlugin |
ACTFCORE_PLUGIN_ID, clCache, configuration, DEBUG_OPTION_ID, LOG_OPTION_ID, runtimeContext, TRACE_OPTION_ID, traceLevel, TRACELEVEL_OPTION_ID, traceStream, TRACESTREAM_OPTION_ID |
Method Summary |
protected String |
getPluginId()
|
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation |
void |
stop(org.osgi.framework.BundleContext context)
|
Methods inherited from class org.eclipse.actf.core.ActfCorePlugin |
getDebugOptionId, getDefault, getDefaultTraceFilename, getLogOptionId, getRuntimeContext, getTraceOptionId, getTracer, isDebugging, log, logException, logException, prepareTraceFacility, setupDefaultTraceStream |
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
MODEL_PLUGIN_ID
public static final String MODEL_PLUGIN_ID
- See Also:
- Constant Field Values
MODEL_TYPE_EXTENSION
public static final String MODEL_TYPE_EXTENSION
- See Also:
- Constant Field Values
ModelPlugin
public ModelPlugin()
- The constructor
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Description copied from class:
ActfCorePlugin
- This method is called upon plug-in activation
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Overrides:
start
in class ActfCorePlugin
- Parameters:
context
- bundle context
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Overrides:
stop
in class ActfCorePlugin
- Throws:
Exception
getPluginId
protected String getPluginId()
- Overrides:
getPluginId
in class ActfCorePlugin