Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.whiteboard
Class WhiteboardActivator

java.lang.Object
  extended by net.java.sip.communicator.plugin.whiteboard.WhiteboardActivator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class WhiteboardActivator
extends Object
implements org.osgi.framework.BundleActivator

Registers the WhiteboardMenuItem in the UI Service.

Author:
Julien Waechter

Field Summary
static org.osgi.framework.BundleContext bundleContext
          OSGi bundle context.
 
Constructor Summary
WhiteboardActivator()
           
 
Method Summary
static UIService getUiService()
          Returns the UIService, giving access to the main GUI.
static List<OperationSetWhiteboarding> getWhiteboardOperationSets()
          Returns all OperationSetWhiteboardings obtained from the bundle context.
 void start(org.osgi.framework.BundleContext bc)
          Starts this bundle.
 void stop(org.osgi.framework.BundleContext bc)
          Stops this bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundleContext

public static org.osgi.framework.BundleContext bundleContext
OSGi bundle context.

Constructor Detail

WhiteboardActivator

public WhiteboardActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Starts this bundle.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - bundle context
Throws:
Exception

stop

public void stop(org.osgi.framework.BundleContext bc)
          throws Exception
Stops this bundle.

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bc - bundle context
Throws:
Exception

getUiService

public static UIService getUiService()
Returns the UIService, giving access to the main GUI.

Returns:
the UIService, giving access to the main GUI.

getWhiteboardOperationSets

public static List<OperationSetWhiteboarding> getWhiteboardOperationSets()
Returns all OperationSetWhiteboardings obtained from the bundle context.

Returns:
all OperationSetWhiteboardings obtained from the bundle context

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.