private void processWikiActions() {
IConfigurationElement[] elements = Platform.getExtensionRegistry().getConfigurationElementsFor("no.hal.confluence.ui.wikiAction");
for (int i = 0; i < elements.length; i++) {
IConfigurationElement element = elements[i];
try {
WikiAction wikiAction = (WikiAction) element.createExecutableExtension("wikiActionClass");
String name = element.getAttribute("name");
if (name != null) {
wikiAction.setText(name);
}
String description = element.getAttribute("description");
if (description != null) {
wikiAction.setDescription(description);
}
String urlPattern = element.getAttribute("urlPattern");
if (urlPattern != null) {
wikiAction.setUrlPattern(urlPattern);
}
wikiActions.add(wikiAction);
} catch (CoreException e) {
System.err.println(e);
}