* @return {@link HyperlinkedTextAttribute} widget set
*/
protected HyperlinkedTextAttribute createRegistrationMethodAttribute(Composite client, String attr, boolean required) {
HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
public void openHyperlink() {
XmlBackedHyperlinkProvider provider = new RegistrationMethodHyperlinkProvider(getConfigEditor()
.getTextViewer(), getInput(), attr);
provider.open(text.getText());
}
};
linkAttr.createAttribute(2);
return linkAttr;
}