Package edu.zao.fire.editors.matchreplace

Examples of edu.zao.fire.editors.matchreplace.MatchReplaceRuleEditorInput


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

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


    }
  }

  protected RenamerRuleEditorInput getEditorInput(RenamerRule rule, File file) {
    if (rule instanceof MatchReplaceRule) {
      return new MatchReplaceRuleEditorInput((MatchReplaceRule) rule, file);
    }
    if (rule instanceof ListRule) {
      return new ListRuleEditorInput((ListRule) rule, file);
    }
    if (rule instanceof MetadataRule) {
View Full Code Here

TOP

Related Classes of edu.zao.fire.editors.matchreplace.MatchReplaceRuleEditorInput

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.