Package edu.zao.fire.editors.metadata

Examples of edu.zao.fire.editors.metadata.MetadataRuleEditorInput


  public Object execute(ExecutionEvent event) throws ExecutionException {
    IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindow(event);
    IWorkbenchPage page = window.getActivePage();

    try {
      page.openEditor(new MetadataRuleEditorInput(), MetadataRuleEditor.ID);
    } catch (PartInitException e) {
      e.printStackTrace();
    }
    return null;
  }
View Full Code Here


    }
    if (rule instanceof ListRule) {
      return new ListRuleEditorInput((ListRule) rule, file);
    }
    if (rule instanceof MetadataRule) {
      return new MetadataRuleEditorInput((MetadataRule) rule, file);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of edu.zao.fire.editors.metadata.MetadataRuleEditorInput

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.