Class WidgetManager
- java.lang.Object
-
- org.opennms.features.topology.api.WidgetManager
-
public class WidgetManager extends java.lang.Object
This class listens forIViewContribution
service registrations.
-
-
Constructor Summary
Constructors Constructor Description WidgetManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUpdateListener(WidgetUpdateListener listener)
java.util.List<IViewContribution>
getWidgets()
Gets the list of Widgets as IViewContributionsvoid
onBind(IViewContribution viewContribution)
void
onUnbind(IViewContribution viewContribution)
void
removeUpdateListener(WidgetUpdateListener listener)
int
widgetCount()
-
-
-
Method Detail
-
addUpdateListener
public void addUpdateListener(WidgetUpdateListener listener)
-
removeUpdateListener
public void removeUpdateListener(WidgetUpdateListener listener)
-
widgetCount
public int widgetCount()
-
getWidgets
public java.util.List<IViewContribution> getWidgets()
Gets the list of Widgets as IViewContributions- Returns:
- List
-
onBind
public void onBind(IViewContribution viewContribution)
-
onUnbind
public void onUnbind(IViewContribution viewContribution)
-
-