Package org.objectstyle.wolips.wodclipse.core.document

Examples of org.objectstyle.wolips.wodclipse.core.document.WodFileDocumentProvider.connect()


  }

  public static void validateWodFile(IFile wodFile, LocalizedComponentsLocateResult locateResults, TypeCache typeCache, HtmlElementCache htmlCache) throws CoreException {
    FileEditorInput input = new FileEditorInput(wodFile);
    WodFileDocumentProvider provider = new WodFileDocumentProvider();
    provider.connect(input);
    try {
      IDocument document = provider.getDocument(input);
      WodModelUtils.validateWodDocument(document, locateResults, typeCache, htmlCache);
    }
    finally {
View Full Code Here


  @Override
  protected IWodModel _parse(IFile file, boolean updateCache) throws Exception {
    IWodModel model;
    FileEditorInput input = new FileEditorInput(file);
    WodFileDocumentProvider provider = new WodFileDocumentProvider();
    provider.connect(input);
    try {
      IDocument document = provider.getDocument(input);
      model = parse(document, updateCache);
    }
    finally {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.