}
return value;
}
private boolean handleCustomAction() {
IntroURLAction command = ExtensionPointManager.getInst()
.getSharedConfigExtensionsManager().getCommand(action);
if (command == null) {
String message = Messages.IntroURL_badCommand;
DialogUtil.displayInfoMessage(null, message,
new Object[] { action });
return false;
}
// custom command. execute it.
StringBuffer url = new StringBuffer();
url.append("http://org.eclipse.ui.intro/"); //$NON-NLS-1$
url.append(command.getReplaceValue().trim());
if (command.getReplaceValue().indexOf("?") == -1) //$NON-NLS-1$
// command does not have parameters.
url.append("?"); //$NON-NLS-1$
else
// command already has parameters.
url.append("&"); //$NON-NLS-1$