com.buglabs.bug.base
Class Activator

java.lang.Object
  extended by com.buglabs.bug.base.Activator
All Implemented Interfaces:
ITimeProvider, IButtonEventListener

public class Activator
extends java.lang.Object
implements ITimeProvider, IButtonEventListener

This bundle offers base unit features to the runtime, such as date/time and power information.


Constructor Summary
Activator()
           
 
Method Summary
 void buttonEvent(ButtonEvent event)
           
 BundleContext getBundleContext()
           
static Activator getDefault()
           
 java.util.Date getTime()
           
 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
 

Constructor Detail

Activator

public Activator()
Method Detail

getTime

public java.util.Date getTime()
Specified by:
getTime in interface ITimeProvider

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()

getBundleContext

public BundleContext getBundleContext()

buttonEvent

public void buttonEvent(ButtonEvent event)
Specified by:
buttonEvent in interface IButtonEventListener