Package no.hal.confluence.ui.actions

Examples of no.hal.confluence.ui.actions.WikiAction


  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);
      }
View Full Code Here

TOP

Related Classes of no.hal.confluence.ui.actions.WikiAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.