/** * Notification a hyperlink has been entered. * * @param link * the link that was entered */ protected void linkEntered(IHyperlink link) { Control control = getTextWidget(); if (hyperlink != null) { linkExited(hyperlink); } hyperlink = link; hyperlink.linkEntered(); control.setCursor(getHandCursor()); control.redraw(); control.addMouseListener(this); }
/** * Notification a hyperlink has been entered. * * @param link * the link that was entered */ protected void linkEntered(IHyperlink link) { Control control = getTextWidget(); if (hyperlink != null) { linkExited(hyperlink); } hyperlink = link; hyperlink.linkEntered(); control.setCursor(getHandCursor()); control.redraw(); control.addMouseListener(this); }