Example usage for com.intellij.openapi.ui.popup IdePopupEventDispatcher close

List of usage examples for com.intellij.openapi.ui.popup IdePopupEventDispatcher close

Introduction

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

Prototype

boolean close();

Source Link

Usage

From source file:com.intellij.ide.IdePopupManager.java

License:Apache License

public boolean closeAllPopups() {
    if (myDispatchStack.size() == 0)
        return false;

    boolean closed = true;
    for (IdePopupEventDispatcher each : myDispatchStack) {
        closed &= each.close();
    }//  ww w .j a  v  a2s . c  o  m

    return closed;
}