|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object livespace.ui.dashboard.Dashboard
public class Dashboard
Constructor Summary | |
---|---|
Dashboard()
|
Method Summary | |
---|---|
static org.osgi.framework.ServiceRegistration |
autoRegisterPanel(org.osgi.framework.BundleContext context,
String panelId,
AbstractDashboardPanel panel)
Register panel as a dashboard panel OSGi service. |
static org.osgi.framework.ServiceRegistration |
registerPanel(org.osgi.framework.BundleContext context,
String panelId,
IDashboardPanel panel)
Register panel as a dashboard panel OSGi service. |
static void |
stopBundleOnClose(org.osgi.framework.BundleContext context,
org.eclipse.swt.widgets.Shell shell)
Trigger the dashboard bundle to stop when this panel is closed (e.g. |
static void |
stopBundleOnClose(org.osgi.framework.BundleContext context,
org.eclipse.jface.window.Window window)
Trigger the dashboard bundle to stop when this panel is closed (e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dashboard()
Method Detail |
---|
public static void stopBundleOnClose(org.osgi.framework.BundleContext context, org.eclipse.jface.window.Window window)
registerPanel(org.osgi.framework.BundleContext, java.lang.String, livespace.ui.dashboard.IDashboardPanel)
does not seem to work (listener never called, window becomes unclosable).
context
- The OSGi bundle context.window
- The dashboard window to be monitored for close
events.public static void stopBundleOnClose(org.osgi.framework.BundleContext context, org.eclipse.swt.widgets.Shell shell)
registerPanel(org.osgi.framework.BundleContext, java.lang.String, livespace.ui.dashboard.IDashboardPanel)
does not seem to work (listener never called, window becomes unclosable).
context
- The OSGi bundle context.shell
- The dashboard shell to be monitored for close events.public static org.osgi.framework.ServiceRegistration registerPanel(org.osgi.framework.BundleContext context, String panelId, IDashboardPanel panel)
context
- The panel's bundle context.panelId
- The ID for the panel.panel
- The panel itself.
autoRegisterPanel(BundleContext, String, AbstractDashboardPanel)
public static org.osgi.framework.ServiceRegistration autoRegisterPanel(org.osgi.framework.BundleContext context, String panelId, AbstractDashboardPanel panel)
context
- The panel's bundle context.panelId
- The ID for the panel.panel
- The panel itself. The panel window will be created
if it's not already.
registerPanel(BundleContext, String, IDashboardPanel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |