Example usage for com.intellij.openapi.wm StatusBarWidget ID

List of usage examples for com.intellij.openapi.wm StatusBarWidget ID

Introduction

In this page you can find the example usage for com.intellij.openapi.wm StatusBarWidget ID.

Prototype

@NotNull
    String ID();

Source Link

Usage

From source file:com.intellij.dvcs.DvcsUtil.java

License:Apache License

public static void removeStatusBarWidget(@NotNull Project project, @NotNull StatusBarWidget widget) {
    StatusBar statusBar = WindowManager.getInstance().getStatusBar(project);
    if (statusBar != null) {
        statusBar.removeWidget(widget.ID());
    }//w  w  w.j  av a2  s .c  o m
}