Package com.intellij.openapi.ui.popup

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


    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.