pl.edu.agh.cast.data
Class Activator

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by pl.edu.agh.cast.data.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends org.eclipse.core.runtime.Plugin

The activator class controls the data plug-in life cycle.

Author:
AGH CAST Team

Field Summary
static String DATA_IMPORTER
          Data importer identifier.
static String DATA_IMPORTER_CLASS
          Data importer class identifier.
static String DATA_IMPORTER_DESCRIPTION
          Data importer description identifier.
static String DATA_IMPORTER_EXTENSION_ID
          Data importer extension point identifier.
static String DATA_IMPORTER_ID
          Data importer ID identifier.
static String DATA_IMPORTER_NAME
          Data importer name identifier.
static String DATA_PREPROCESSOR_CLASS
          Data preprocessor class identifier.
static String DATA_PREPROCESSOR_DESC
          Data preprocessor description identifier.
static String DATA_PREPROCESSOR_EXTENSION_ID
          Data preprocessor extension point identifier.
static String DATA_PREPROCESSOR_ID
          Data preprocessor ID identifier.
static String DATA_PREPROCESSOR_NAME
          Data preprocessor name identifier.
static String PLUGIN_ID
          Data plug-in identifier.
 
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 Activator getDefault()
          Returns the shared instance.
static org.apache.log4j.Logger getLogger()
          Returns the shared logger of the data view plug-in.
 void start(org.osgi.framework.BundleContext context)
          
 void stop(org.osgi.framework.BundleContext context)
          
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final String PLUGIN_ID
Data plug-in identifier.

See Also:
Constant Field Values

DATA_IMPORTER_EXTENSION_ID

public static final String DATA_IMPORTER_EXTENSION_ID
Data importer extension point identifier.

See Also:
Constant Field Values

DATA_PREPROCESSOR_EXTENSION_ID

public static final String DATA_PREPROCESSOR_EXTENSION_ID
Data preprocessor extension point identifier.

See Also:
Constant Field Values

DATA_IMPORTER_NAME

public static final String DATA_IMPORTER_NAME
Data importer name identifier.

See Also:
Constant Field Values

DATA_IMPORTER_ID

public static final String DATA_IMPORTER_ID
Data importer ID identifier.

See Also:
Constant Field Values

DATA_IMPORTER_DESCRIPTION

public static final String DATA_IMPORTER_DESCRIPTION
Data importer description identifier.

See Also:
Constant Field Values

DATA_IMPORTER_CLASS

public static final String DATA_IMPORTER_CLASS
Data importer class identifier.

See Also:
Constant Field Values

DATA_IMPORTER

public static final String DATA_IMPORTER
Data importer identifier.

See Also:
Constant Field Values

DATA_PREPROCESSOR_NAME

public static final String DATA_PREPROCESSOR_NAME
Data preprocessor name identifier.

See Also:
Constant Field Values

DATA_PREPROCESSOR_ID

public static final String DATA_PREPROCESSOR_ID
Data preprocessor ID identifier.

See Also:
Constant Field Values

DATA_PREPROCESSOR_CLASS

public static final String DATA_PREPROCESSOR_CLASS
Data preprocessor class identifier.

See Also:
Constant Field Values

DATA_PREPROCESSOR_DESC

public static final String DATA_PREPROCESSOR_DESC
Data preprocessor description identifier.

See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
The constructor.

Method Detail

getLogger

public static org.apache.log4j.Logger getLogger()
Returns the shared logger of the data view plug-in.

Returns:
the shared logger

getDefault

public static Activator getDefault()
Returns the shared instance.

Returns:
the shared instance

start

public void start(org.osgi.framework.BundleContext context)
           throws Exception

Specified by:
start in interface org.osgi.framework.BundleActivator
Overrides:
start in class org.eclipse.core.runtime.Plugin
Throws:
Exception
See Also:
Plugin.start(org.osgi.framework.BundleContext)

stop

public void stop(org.osgi.framework.BundleContext context)
          throws Exception

Specified by:
stop in interface org.osgi.framework.BundleActivator
Overrides:
stop in class org.eclipse.core.runtime.Plugin
Throws:
Exception
See Also:
Plugin.stop(org.osgi.framework.BundleContext)


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.