Example usage for com.intellij.openapi.fileChooser FileTextField isPopupDisplayed

List of usage examples for com.intellij.openapi.fileChooser FileTextField isPopupDisplayed

Introduction

In this page you can find the example usage for com.intellij.openapi.fileChooser FileTextField isPopupDisplayed.

Prototype

boolean isPopupDisplayed();

Source Link

Usage

From source file:com.intellij.ui.TextFieldWithHistory.java

License:Apache License

@Override
public void setPopupVisible(boolean v) {
    if (v) {//from ww w  .j  a  va2  s .  com
        final FileTextField fileTextField = (FileTextField) getTextEditor()
                .getClientProperty(FileTextField.KEY);
        // don't allow showing combobox popup when file completion popup is displayed (IDEA-68711)
        if (fileTextField != null && fileTextField.isPopupDisplayed()) {
            return;
        }
    }
    super.setPopupVisible(v);
}