Examples of showInBestPositionFor()


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

        .setResizable(true)
        .setMovable(true)
        .setTitle("Translation Preview")
        .createPopup();

    jbPopup.showInBestPositionFor(editor);
  }

}
View Full Code Here

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

                    handleComment(comment, project);
                }
            }
        });
        commentForm.setBalloon(balloon);
        balloon.showInBestPositionFor(editor);
        commentForm.requestFocus();
    }

    private void handleComment(final DraftInput comment, final Project project) {
        if (commentToEdit != null) {
View Full Code Here

Examples of com.intellij.openapi.ui.popup.ListPopup.showInBestPositionFor()

    {
      popup.showInScreenCoordinates(component, location);
    }
    else
    {
      popup.showInBestPositionFor(e.getDataContext());
    }
  }

  protected DefaultActionGroup createActionGroup(AnActionEvent e)
  {
View Full Code Here

Examples of com.intellij.openapi.ui.popup.ListPopup.showInBestPositionFor()

    public void actionPerformed(AnActionEvent e) {
        ListPopup popup = JBPopupFactory.getInstance().createActionGroupPopup(null, actionGroup,
                e.getDataContext(), JBPopupFactory.ActionSelectionAid.ALPHA_NUMBERING, false);

        popup.showInBestPositionFor(e.getDataContext());

    }
}
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.