Package com.intellij.openapi.ui.popup

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


            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

          }
        }
      }).
      createPopup();

    popup.show(new RelativePoint(e));
  }

  @NotNull
  private static Type[] getAvailableTypes() {
    List<Type> types = ContainerUtil.filter(Type.values(), new Condition<Type>() {
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.