Example usage for com.intellij.openapi.ui.popup JBPopup setUiVisible

List of usage examples for com.intellij.openapi.ui.popup JBPopup setUiVisible

Introduction

In this page you can find the example usage for com.intellij.openapi.ui.popup JBPopup setUiVisible.

Prototype

void setUiVisible(boolean visible);

Source Link

Usage

From source file:com.intellij.ui.popup.StackingPopupDispatcherImpl.java

License:Apache License

public void hidePersistentPopups() {
    final WeakList<JBPopup> list = myPersistentPopups;
    for (JBPopup each : list) {
        if (each.isNativePopup()) {
            each.setUiVisible(false);
        }/* ww  w . j av  a 2s . c o  m*/
    }
}

From source file:com.intellij.ui.popup.StackingPopupDispatcherImpl.java

License:Apache License

public void restorePersistentPopups() {
    final WeakList<JBPopup> list = myPersistentPopups;
    for (JBPopup each : list) {
        if (each.isNativePopup()) {
            each.setUiVisible(true);
        }/*  w ww.  ja  va  2  s .  c  o  m*/
    }
}