Package com.intellij.ui.components.labels

Examples of com.intellij.ui.components.labels.LinkListener


            addCommentClicked();
          }
        }, null);*/
    cancelLink = new LinkLabel();
    ((JLabel) cancelLink).setText("cancel");
    ((LinkLabel) cancelLink).setListener(new LinkListener() {
      public void linkSelected(final LinkLabel linkLabel, final Object o) {
        cancelClicked();
      }
    }, null);
    signInOutLink = new LinkLabel();
    ((JLabel) signInOutLink).setText("sign in");
    ((LinkLabel) signInOutLink).setListener(new LinkListener() {
      public void linkSelected(final LinkLabel linkLabel, final Object o) {
        signInOrOutClicked();
      }
    }, null);
    /*changeLink = new LinkLabel();
View Full Code Here


        //       Currently I don't know how to open the facet setting from the code...
        //       if only the facet config was a Configurable instance!
        if (exception.getConfigLocation() == IvySettingsNotFoundException.ConfigLocation.Project) {
            linkBehavior = new LinkBehavior(
                    "Open " + exception.getConfigLocation() + " settings for " + exception.getConfigName() + "...",
                    new LinkListener() {
                        public void linkSelected(LinkLabel linkLabel, Object o) {
                            Configurable component = project.getComponent(IvyIdeaProjectSettingsComponent.class);
                            ShowSettingsUtil.getInstance().editConfigurable(project, component);
                        }
                    }, null);
View Full Code Here

  @Override
  public void printHyperlink(String s, final HyperlinkInfo info) {
    if (myLength >= MAX_LENGTH) return;

    LinkLabel linkLabel = new LinkLabel(linkText(s), null, new LinkListener() {
      @Override
      public void linkSelected(LinkLabel aSource, Object aLinkData) {
        info.navigate(myProject);
      }
    });
View Full Code Here

TOP

Related Classes of com.intellij.ui.components.labels.LinkListener

Copyright © 2018 www.massapicom. 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.