aQute.bnd.plugin
Class Activator

java.lang.Object
  extended by AbstractUIPlugin
      extended by aQute.bnd.plugin.Activator

public class Activator
extends AbstractUIPlugin

The activator class controls the plug-in life cycle


Field Summary
static java.lang.String PLUGIN_ID
           
 
Constructor Summary
Activator()
          The constructor
 
Method Summary
 void error(java.util.List<java.lang.String> errors)
           
 void error(java.lang.String msg, java.lang.Throwable t)
           
 BundleContext getBundleContext()
           
 Central getCentral()
           
 java.io.File getCopy()
           
static Activator getDefault()
          Returns the shared instance
static ImageDescriptor getImageDescriptor(java.lang.String path)
          Returns an image descriptor for the image file at the given plug-in relative path
 boolean getReportDone()
           
 void info(java.lang.String msg)
           
 boolean isPedantic()
           
 void message(java.lang.String msg)
           
 void report(boolean warnings, boolean acknowledge, Processor reporter, java.lang.String title, java.lang.String extra)
           
 void start(BundleContext context)
           
 void stop(BundleContext context)
           
 void warning(java.util.List<java.lang.String> errors)
           
 
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
See Also:
Constant Field Values
Constructor Detail

Activator

public Activator()
The constructor

Method Detail

start

public void start(BundleContext context)
           throws java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop(BundleContext context)
          throws java.lang.Exception
Throws:
java.lang.Exception

getDefault

public static Activator getDefault()
Returns the shared instance

Returns:
the shared instance

getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in relative path

Parameters:
path - the path
Returns:
the image descriptor

error

public void error(java.lang.String msg,
                  java.lang.Throwable t)

info

public void info(java.lang.String msg)

error

public void error(java.util.List<java.lang.String> errors)

message

public void message(java.lang.String msg)

warning

public void warning(java.util.List<java.lang.String> errors)

getReportDone

public boolean getReportDone()

getCopy

public java.io.File getCopy()

isPedantic

public boolean isPedantic()

getBundleContext

public BundleContext getBundleContext()

report

public void report(boolean warnings,
                   boolean acknowledge,
                   Processor reporter,
                   java.lang.String title,
                   java.lang.String extra)

getCentral

public Central getCentral()