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

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

Introduction

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

Prototype

boolean isNativePopup();

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);/* w  ww .j  av  a  2s  . com*/
        }
    }
}

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);/* www.  j  a  va  2s  .  co  m*/
        }
    }
}