StatusBarWidgetFactory
instead.
It provides configurable widgets that can be disabled or reordered.@Deprecated
public interface StatusBarWidgetProvider
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<StatusBarWidgetProvider> |
EP_NAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
getAnchor()
Deprecated.
Determines position of the added widget in relation to other widgets on the status bar.
|
StatusBarWidget |
getWidget(Project project)
Deprecated.
Returns a widget to be added to the status bar.
|
default boolean |
isCompatibleWith(IdeFrame frame)
Deprecated.
Checks if the provider is compatible with a given frame.
|
static final ExtensionPointName<StatusBarWidgetProvider> EP_NAME
StatusBarWidget getWidget(Project project)
Normally you should return a new instance of your widget here.
project
- Current projectdefault java.lang.String getAnchor()
Utility methods from StatusBar.Anchors can be used to create an anchor with 'before' or 'after' rules. Take a look at StatusBar.StandardWidgets if you need to position your widget relatively to one of the standard widgets.
default boolean isCompatibleWith(IdeFrame frame)
frame
- The frame to check the compatibility with.