List of usage examples for com.intellij.openapi.ui.popup JBPopup isPersistent
boolean isPersistent();
From source file:com.intellij.ui.popup.StackingPopupDispatcherImpl.java
License:Apache License
public void onPopupShown(JBPopup popup, boolean inStack) { if (inStack) { myStack.push(popup);//from www . j a v a 2 s.c o m if (ApplicationManager.getApplication() != null) { IdeEventQueue.getInstance().getPopupManager().push(getInstance()); } } else if (popup.isPersistent()) { myPersistentPopups.add(popup); } myAllPopups.add(popup); }