pl.edu.agh.cast.importer.base
Class Activator

java.lang.Object
  extended by org.eclipse.core.runtime.Plugin
      extended by org.eclipse.ui.plugin.AbstractUIPlugin
          extended by pl.edu.agh.cast.importer.base.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin

The activator class controls the plug-in life cycle.

Author:
AGH CAST Team

Field Summary
static String IMPORT_CONVERSIONRULE_CLASS
          Name of the point attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.
static String IMPORT_CONVERSIONRULE_DESCRIPTION
          Name of the description attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.
static String IMPORT_CONVERSIONRULE_EXTENSION_ID
          Identifier of the pl.edu.agh.cast.importer.base.conversionrule extension point.
static String IMPORT_CONVERSIONRULE_ID
          Name of the id attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.
static String IMPORT_CONVERSIONRULE_NAME
          Name of the name attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.
static String IMPORT_CONVERTER_CLASS
          Name of the point attribute of pl.edu.agh.cast.importer.base.converter extension point.
static String IMPORT_CONVERTER_DESCRIPTION
          Name of the description attribute of pl.edu.agh.cast.importer.base.converter extension point.
static String IMPORT_CONVERTER_EXTENSION_ID
          Identifier of the pl.edu.agh.cast.importer.base.converter extension point.
static String IMPORT_CONVERTER_ID
          Name of the id attribute of pl.edu.agh.cast.importer.base.converter extension point.
static String IMPORT_CONVERTER_NAME
          Name of the name attribute of pl.edu.agh.cast.importer.base.converter extension point.
static String IMPORT_DATATYPE_ANALYZER
          Name of the analyzer attribute of pl.edu.agh.cast.importer.base.datatype extension point.
static String IMPORT_DATATYPE_ANALYZER_DEFAULT
          Name of the default attribute of pl.edu.agh.cast.importer.base.datatype extension point.
static String IMPORT_DATATYPE_EXTENSION_ID
          Identifier of the pl.edu.agh.cast.importer.base.datatype extension point.
static String IMPORT_DATATYPE_ID
          Name of the id attribute of pl.edu.agh.cast.importer.base.datatype extension point.
static String IMPORT_DATATYPE_NAME
          Name of the name attribute of pl.edu.agh.cast.importer.base.datatype extension point.
static String IMPORT_TOKENIZER_CLASS
          Name of the point attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.
static String IMPORT_TOKENIZER_DESCRIPTION
          Name of the description attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.
static String IMPORT_TOKENIZER_EXTENSION_ID
          Identifier of the pl.edu.agh.cast.importer.base.tokenizer extension point.
static String IMPORT_TOKENIZER_FILE_EXTENSION_VALUE
          Name of the value attribute of fileextension attribute of the pl.edu.agh.cast.importer.base.tokenizer extension point.
static String IMPORT_TOKENIZER_ID
          Name of the id attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.
static String IMPORT_TOKENIZER_NAME
          Name of the name attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.
static String PLUGIN_ID
          The 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
Activator()
          The constructor.
 
Method Summary
static String getBundleName()
          Retrieve the bundle name.
static String getBundleVendor()
          Retrieve the bundle provider.
static String getBundleVersion()
          Retrieve the bundle version.
static Activator getDefault()
          Returns the shared instance.
static org.apache.log4j.Logger getLogger()
          Returns the shared logger of the data view plug-in.
 ImportTemplateManager getTemplateManager()
          Gets template manager.
 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

PLUGIN_ID

public static final String PLUGIN_ID
The plugin ID.

See Also:
Constant Field Values

IMPORT_TOKENIZER_EXTENSION_ID

public static final String IMPORT_TOKENIZER_EXTENSION_ID
Identifier of the pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_CONVERTER_EXTENSION_ID

public static final String IMPORT_CONVERTER_EXTENSION_ID
Identifier of the pl.edu.agh.cast.importer.base.converter extension point.

See Also:
Constant Field Values

IMPORT_CONVERSIONRULE_EXTENSION_ID

public static final String IMPORT_CONVERSIONRULE_EXTENSION_ID
Identifier of the pl.edu.agh.cast.importer.base.conversionrule extension point.

See Also:
Constant Field Values

IMPORT_DATATYPE_EXTENSION_ID

public static final String IMPORT_DATATYPE_EXTENSION_ID
Identifier of the pl.edu.agh.cast.importer.base.datatype extension point.

See Also:
Constant Field Values

IMPORT_TOKENIZER_CLASS

public static final String IMPORT_TOKENIZER_CLASS
Name of the point attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_TOKENIZER_ID

public static final String IMPORT_TOKENIZER_ID
Name of the id attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_TOKENIZER_NAME

public static final String IMPORT_TOKENIZER_NAME
Name of the name attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_TOKENIZER_DESCRIPTION

public static final String IMPORT_TOKENIZER_DESCRIPTION
Name of the description attribute of pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_TOKENIZER_FILE_EXTENSION_VALUE

public static final String IMPORT_TOKENIZER_FILE_EXTENSION_VALUE
Name of the value attribute of fileextension attribute of the pl.edu.agh.cast.importer.base.tokenizer extension point.

See Also:
Constant Field Values

IMPORT_CONVERTER_CLASS

public static final String IMPORT_CONVERTER_CLASS
Name of the point attribute of pl.edu.agh.cast.importer.base.converter extension point.

See Also:
Constant Field Values

IMPORT_CONVERTER_ID

public static final String IMPORT_CONVERTER_ID
Name of the id attribute of pl.edu.agh.cast.importer.base.converter extension point.

See Also:
Constant Field Values

IMPORT_CONVERTER_NAME

public static final String IMPORT_CONVERTER_NAME
Name of the name attribute of pl.edu.agh.cast.importer.base.converter extension point.

See Also:
Constant Field Values

IMPORT_CONVERTER_DESCRIPTION

public static final String IMPORT_CONVERTER_DESCRIPTION
Name of the description attribute of pl.edu.agh.cast.importer.base.converter extension point.

See Also:
Constant Field Values

IMPORT_DATATYPE_ID

public static final String IMPORT_DATATYPE_ID
Name of the id attribute of pl.edu.agh.cast.importer.base.datatype extension point.

See Also:
Constant Field Values

IMPORT_DATATYPE_NAME

public static final String IMPORT_DATATYPE_NAME
Name of the name attribute of pl.edu.agh.cast.importer.base.datatype extension point.

See Also:
Constant Field Values

IMPORT_DATATYPE_ANALYZER

public static final String IMPORT_DATATYPE_ANALYZER
Name of the analyzer attribute of pl.edu.agh.cast.importer.base.datatype extension point.

See Also:
Constant Field Values

IMPORT_DATATYPE_ANALYZER_DEFAULT

public static final String IMPORT_DATATYPE_ANALYZER_DEFAULT
Name of the default attribute of pl.edu.agh.cast.importer.base.datatype extension point.

See Also:
Constant Field Values

IMPORT_CONVERSIONRULE_CLASS

public static final String IMPORT_CONVERSIONRULE_CLASS
Name of the point attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.

See Also:
Constant Field Values

IMPORT_CONVERSIONRULE_ID

public static final String IMPORT_CONVERSIONRULE_ID
Name of the id attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.

See Also:
Constant Field Values

IMPORT_CONVERSIONRULE_NAME

public static final String IMPORT_CONVERSIONRULE_NAME
Name of the name attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.

See Also:
Constant Field Values

IMPORT_CONVERSIONRULE_DESCRIPTION

public static final String IMPORT_CONVERSIONRULE_DESCRIPTION
Name of the description attribute of pl.edu.agh.cast.importer.base.conversionrule extension point.

See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
The constructor.

Method Detail

getDefault

public static Activator getDefault()
Returns the shared instance.

Returns:
the shared instance

getLogger

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

Returns:
the shared logger

getBundleName

public static String getBundleName()
Retrieve the bundle name.

Returns:
the bundle name

getBundleVendor

public static String getBundleVendor()
Retrieve the bundle provider.

Returns:
the bundle provider

getBundleVersion

public static String getBundleVersion()
Retrieve the bundle version.

Returns:
the bundle version

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.ui.plugin.AbstractUIPlugin
Throws:
Exception
See Also:
AbstractUIPlugin.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.ui.plugin.AbstractUIPlugin
Throws:
Exception
See Also:
AbstractUIPlugin.stop(org.osgi.framework.BundleContext)

getTemplateManager

public ImportTemplateManager getTemplateManager()
Gets template manager.

Returns:
template manager


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