aQute.bnd.plugin
Class Activator
java.lang.Object
AbstractUIPlugin
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
- See Also:
- Constant Field Values
Activator
public Activator()
- The constructor
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()