Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.library
Class LibraryPlugin

java.lang.Object
  extended by Plugin
      extended by org.eclipse.mtj.core.library.LibraryPlugin

public class LibraryPlugin
extends Plugin

The activator class controls the plug-in life cycle

Since:
0.9.1

Field Summary
static String PLUGIN_ID
          The plug-in ID
 
Constructor Summary
LibraryPlugin()
          The constructor
 
Method Summary
static LibraryPlugin getDefault()
          Returns the shared instance
static void log(int error, String message, Throwable throwable)
           
 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 String PLUGIN_ID
The plug-in ID

See Also:
Constant Field Values
Constructor Detail

LibraryPlugin

public LibraryPlugin()
The constructor

Method Detail

getDefault

public static LibraryPlugin getDefault()
Returns the shared instance

Returns:
the shared instance

start

public void start(BundleContext context)
           throws Exception
Throws:
Exception

stop

public void stop(BundleContext context)
          throws Exception
Throws:
Exception

log

public static void log(int error,
                       String message,
                       Throwable throwable)
Parameters:
error -
string -
object -

Mobile Tools for Java
Release 1.0