public final class StatusBarWidgetsManager extends SimpleModificationTracker implements Disposable
Disposable.Parent
EVER_CHANGED, NEVER_CHANGED
Constructor and Description |
---|
StatusBarWidgetsManager(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeEnabledOnStatusBar(StatusBarWidgetFactory factory,
StatusBar statusBar) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
StatusBarWidgetFactory |
findWidgetFactory(java.lang.String widgetId) |
java.util.Set<StatusBarWidgetFactory> |
getWidgetFactories() |
void |
updateAllWidgets() |
void |
updateWidget(java.lang.Class<? extends StatusBarWidgetFactory> factoryExtension) |
void |
updateWidget(StatusBarWidgetFactory factory) |
boolean |
wasWidgetCreated(StatusBarWidgetFactory factory) |
getModificationCount, incModificationCount
public StatusBarWidgetsManager(Project project)
public void updateAllWidgets()
public void updateWidget(java.lang.Class<? extends StatusBarWidgetFactory> factoryExtension)
public void updateWidget(StatusBarWidgetFactory factory)
public boolean wasWidgetCreated(StatusBarWidgetFactory factory)
public void dispose()
Disposable
dispose
in interface Disposable
public StatusBarWidgetFactory findWidgetFactory(java.lang.String widgetId)
public java.util.Set<StatusBarWidgetFactory> getWidgetFactories()
public boolean canBeEnabledOnStatusBar(StatusBarWidgetFactory factory, StatusBar statusBar)