Examples of Hyperlink


Examples of org.eclipse.ui.forms.widgets.Hyperlink

    public void linkEntered(final HyperlinkEvent e) {}

    public void linkExited(HyperlinkEvent e) {}

    private void showPopup(final HyperlinkEvent e) {
        Hyperlink link = (Hyperlink) e.getSource();
        link.setToolTipText(null);

        if (popupDialog != null)
            popupDialog.close();
        popupDialog = new MessagesPopupDialog(link, (IMessage[]) e.data, part);
        popupDialog.open();
View Full Code Here

Examples of org.eclipse.ui.forms.widgets.Hyperlink

        if (prefs.getBrowserSelection() == JpmPreferences.PREF_BROWSER_EXTERNAL) {
            external = true;
            Composite composite = new Composite(parent, SWT.NONE);
            composite.setLayout(new GridLayout(2, false));
            new Label(composite, SWT.NONE).setText("JPM is configured to open in an external browser.");
            Hyperlink linkToPrefs = new Hyperlink(composite, SWT.NONE);
            linkToPrefs.setText("Open Preference Page");
            linkToPrefs.setUnderlined(true);
            linkToPrefs.addHyperlinkListener(new HyperlinkAdapter() {
                @Override
                public void linkActivated(HyperlinkEvent e) {
                    PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(getViewSite().getShell(), "bndtools.prefPages.jpm", new String[] {
                        "bndtools.prefPages.jpm"
                    }, null);
View Full Code Here

Examples of org.pentaho.reporting.designer.core.util.HyperLink

    messageLabel.setText(Messages.getInstance().getString("VersionCheckerUtility.Message"));
    messageLabel.setFocusable(false);
    messageLabel.setBackground(null);

    final String url = Messages.getInstance().getString("VersionCheckerUtility.URL");
    final HyperLink linkLbl = new HyperLink(url);
    linkLbl.addMouseListener(new HyperlinkHandler(url, linkLbl));

    final String questionText = Messages.getInstance().getString("VersionCheckerUtility.Question");
    final JTextPane questionLabel = new JTextPane();
    questionLabel.setFont(font.deriveFont(Font.BOLD));
    questionLabel.setText(questionText);
View Full Code Here

Examples of org.zkoss.poi.ss.usermodel.Hyperlink

      break;
    case Cell.CELL_TYPE_STRING:
      cell.setCellValue(cv.getStringValue());
      break;
    }
    Hyperlink hyperlink = cv.getHyperlink();
    if (hyperlink != null) {
      if (cell instanceof HSSFCell)
        ((HSSFCell)cell).setEvalHyperlink(hyperlink);
      else
        ((XSSFCell)cell).setEvalHyperlink(hyperlink);
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.