livespace.ui.dashboard
Class DashboardDelegate

java.lang.Object
  extended by livespace.ui.dashboard.DashboardDelegate
All Implemented Interfaces:
IDelegate

Deprecated. Use SWTDelegate instead.

@Deprecated
public class DashboardDelegate
extends Object
implements IDelegate

A delegate that calls a wrapped delegate in the Dashboard event handler thread using IDashboard.asyncExec(IDelegate). Also sets up the the OSGi class loader. Dashboard panels can use this to redirect callbacks into the event thread.

Author:
Matthew Phillips

Field Summary
 
Fields inherited from interface dsto.dfc.reflection.IDelegate
EMPTY_ARGS
 
Constructor Summary
DashboardDelegate(org.osgi.framework.BundleContext context, IDelegate delegate)
          Deprecated. Create a new instance.
 
Method Summary
 void invoke(Object... args)
          Deprecated. Invoke the delegate with the given argument list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashboardDelegate

public DashboardDelegate(org.osgi.framework.BundleContext context,
                         IDelegate delegate)
Deprecated. 
Create a new instance.

Parameters:
context - The bundle context. Used to look up the dashboard service.
delegate - The delegate to invoke from the event thread.
Method Detail

invoke

public void invoke(Object... args)
            throws InvokeException
Deprecated. 
Description copied from interface: IDelegate
Invoke the delegate with the given argument list.

Specified by:
invoke in interface IDelegate
Parameters:
args - The arguments.
Throws:
InvokeException - if a checked exception occurs.


Copyright © 2008 Commonwealth of Australia