ch.sahits.codegen
Class CodegenPlugin

java.lang.Object
  extended by Plugin
      extended by ch.sahits.codegen.CodegenPlugin

public final class CodegenPlugin
extends Plugin

The activator class controls the plug-in life cycle

Since:
1.2.0

Field Summary
static java.lang.String PLUGIN_ID
          Plug-in id for this plug-in
 
Constructor Summary
CodegenPlugin()
          The constructor
 
Method Summary
static CodegenPlugin getDefault()
          Returns the shared instance
static java.lang.String getPluginId()
          Retrieve the plug-in id for this plug-in
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
Plug-in id for this plug-in

See Also:
Constant Field Values
Constructor Detail

CodegenPlugin

public CodegenPlugin()
The constructor

Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception
See Also:
org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)

getDefault

public static CodegenPlugin getDefault()
Returns the shared instance

Returns:
the shared instance

getPluginId

public static java.lang.String getPluginId()
Retrieve the plug-in id for this plug-in

Returns:
Plug-in ID