def.getAttribute(CommonActionsExtensionPointConstants.ATTR_DESCRIPTION), SWT.WRAP);
wizardLink.addHyperlinkListener(new HyperlinkAdapter() {
@Override
public void linkActivated(HyperlinkEvent e) {
try {
AbstractConfigWizard wizard = (AbstractConfigWizard) def
.createExecutableExtension(CommonActionsExtensionPointConstants.ATTR_CLASS);
wizard.initialize(getFormPage().getEditor().getResourceFile(), getFormPage().getEditor()
.getDomDocument(), def
.getAttribute(CommonActionsExtensionPointConstants.ATTR_NAMESPACE_URI));
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
if (shell != null && !shell.isDisposed()) {
WizardDialog dialog = new WizardDialog(shell, wizard);
dialog.create();
dialog.setBlockOnOpen(true);
if (dialog.open() == Window.OK) {
IDOMElement element = wizard.getNewElement();
getMasterPart().getViewer().setSelection(new StructuredSelection(element));
}
}
}
catch (CoreException e1) {