Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.skinmanager
Class SkinManagerActivator

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

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

The BundleActivator of the SkinManager plugin.

Author:
Yana Stamcheva, Adam Netocny, CircleTech, s.r.o.

Field Summary
static org.osgi.framework.BundleContext bundleContext
          The bundle context.
 
Constructor Summary
SkinManagerActivator()
           
 
Method Summary
static UIService getUIService()
          Returns the UIService obtained from the bundle context.
 void start(org.osgi.framework.BundleContext bc)
          Starts this bundle and adds the SkinManagerConfigForm contained in it to the configuration window obtained from the UIService.
 void stop(org.osgi.framework.BundleContext bc)
          Stops this bundles.
 
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
The bundle context.

Constructor Detail

SkinManagerActivator

public SkinManagerActivator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
           throws Exception
Starts this bundle and adds the SkinManagerConfigForm contained in it to the configuration window obtained from the UIService.

Specified by:
start in interface org.osgi.framework.BundleActivator
Parameters:
bc - the BundleContext
Throws:
Exception - if one of the operation executed in the start method fails

stop

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

Specified by:
stop in interface org.osgi.framework.BundleActivator
Parameters:
bc - the BundleContext
Throws:
Exception - if one of the operation executed in the stop method fails

getUIService

public static UIService getUIService()
Returns the UIService obtained from the bundle context.

Returns:
the UIService 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.