Class JgPlugin

java.lang.Object
org.eclipse.core.runtime.Plugin
org.apache.uima.jcas.jcasgenp.JgPlugin
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class JgPlugin extends org.eclipse.core.runtime.Plugin
The main plugin class to be used in the desktop.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Constant JCASGEN_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
    Constructor
    Description
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    static JgPlugin
    Returns the shared instance.
    static String
    Convenience method which returns the unique identifier of this plugin.
    static org.eclipse.core.resources.IWorkspace
    Returns the workspace instance.

    Methods inherited from class org.eclipse.core.runtime.Plugin

    find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, start, startup, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • JgPlugin

      public JgPlugin()
      The constructor.
  • Method Details

    • getDefault

      public static JgPlugin getDefault()
      Returns the shared instance.
      Returns:
      the default
    • getWorkspace

      public static org.eclipse.core.resources.IWorkspace getWorkspace()
      Returns the workspace instance.
      Returns:
      the workspace
    • getUniqueIdentifier

      public static String getUniqueIdentifier()
      Convenience method which returns the unique identifier of this plugin.
      Returns:
      the unique identifier