Examples of show()


Examples of com.intellij.ide.util.FileStructurePopup.show()

        }
        StructureView structureView = new StructureViewComponent(fileEditor, viewModel, project, true);

        FileStructurePopup popup = createStructureViewPopup(project, fileEditor, structureView);
        popup.setTitle(psiFile.getName());
        popup.show();
    }

    @NotNull
    private static FileStructurePopup createStructureViewPopup(@NotNull Project project, @NotNull FileEditor fileEditor, @NotNull StructureView structureView) {
        return new FileStructurePopup(project, fileEditor, structureView, true);
View Full Code Here

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

Examples of com.intellij.openapi.keymap.impl.ui.EditKeymapsDialog.show()

                            actionLabel = anAction.getTemplatePresentation().getText();
                        }
                        if (Messages.showYesNoDialog(frame, "Would you like to assign shortcut to '" + actionLabel + "' action cause we noticed it was used " + withoutShortcutStats.get(id) + " time(s) by mouse?",
                                "[KeyPromoter said]: Keyboard usage more productive!", Messages.getQuestionIcon()) == 0) {
                            EditKeymapsDialog dialog = new EditKeymapsDialog(((IdeFrameImpl) frame).getProject(), id);
                            dialog.show();
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of com.intellij.openapi.options.ex.SingleConfigurableEditor.show()

          project,
          configurable,
          ShowSettingsUtilImpl.createDimensionKey(configurable),
          false
        );
        editor.show();
        updateMacroses();
      }
    });
  }
View Full Code Here

Examples of com.intellij.openapi.ui.DialogBuilder.show()

        builder.addCancelAction();
        builder.setCenterPanel(browser);
        builder.setTitle(title == null || title.trim().length() == 0 ? "Browse Repository" : title);
        builder.setOkActionEnabled(false);

        final int exitCode = builder.show();
        if (exitCode == DialogWrapper.OK_EXIT_CODE)
            return browser.getSelectedItems();
        else
            return null;
    }
View Full Code Here

Examples of com.intellij.openapi.ui.FrameWrapper.show()

            log.error("Error loading icon", e);
        }
        fw.setProject(project);
        PropertiesComponent propertiesComponent = new PropertiesComponent();
        fw.setComponent(propertiesComponent);
        fw.show();
        propertiesComponent.setData(result);
    }
}
View Full Code Here

Examples of com.intellij.openapi.ui.PackageChooser.show()


    protected void addPatternFilter() {
      PackageChooser chooser = PeerFactory.getInstance().getUIHelper().
        createPackageChooser(CodeInsightBundle.message("coverage.pattern.filter.editor.choose.package.title"), myProject);
      chooser.show();
      List<PsiPackage> packages = chooser.getSelectedPackages();
      if (!packages.isEmpty()) {
        for (final PsiPackage aPackage : packages) {
          final String fqName = aPackage.getQualifiedName();
          final String pattern = fqName.length() > 0 ? fqName + ".*" : "*";
 
View Full Code Here

Examples of com.intellij.openapi.ui.SelectFromListDialog.show()

                        BorderLayout.PAGE_START);

        dlg.setModal(true);
        dlg.setResizable(true);
        dlg.setSelection(value);
        dlg.show();

        if (dlg.isOK()) {
            final Object[] selection = dlg.getSelection();

            if (selection != null && selection.length > 0)
View Full Code Here

Examples of com.intellij.openapi.ui.popup.Balloon.show()

  private static void _createBalloon(final Project project, final Component parent, final Orientation orientation, final BalloonBuilder builder) {
    builder.setHideOnClickOutside(true);
    builder.setHideOnKeyOutside(true);
    final Balloon balloon = builder.createBalloon();
    balloon.show(new RelativePoint(parent, new Point(parent.getWidth() / 2, parent.getHeight() / 2)), orientation.getOrientation());
  }


  private BalloonTipFactory() {
  }
View Full Code Here

Examples of com.intellij.openapi.ui.popup.JBPopup.show()

                        }
                    })
                    .createPopup();

            if (e != null) {
                popup.show(new RelativePoint(e));
            } else {
                final Dimension dimension = popup.getContent().getPreferredSize();
                final Point at = new Point(-dimension.width / 2, -dimension.height);
                popup.show(new RelativePoint(myLabel, at));
            }
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.