Package com.intellij.jam.view.ui

Examples of com.intellij.jam.view.ui.SelectElementsToDeleteDialog.show()


  private final List<DeleteError> myErrors = new ArrayList<DeleteError>();

  public Collection<PsiElement> askUserToDeletePsiElements(Collection<PsiElement> ownedReferences, String elementDisplayName) {
    SelectElementsToDeleteDialog dialog = new SelectElementsToDeleteDialog(new ArrayList<PsiElement>(ownedReferences), myProject);
    dialog.show();
    if (dialog.isOK()) {
      return dialog.getSelectedItems();
    }
    else {
      return new ArrayList<PsiElement>();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.