Package de.innovationgate.eclipse.editors.tml

Examples of de.innovationgate.eclipse.editors.tml.TMLDocumentProvider


  }

   
  public static void validateTMLFile(IFile file) { 
    try {
      TMLDocumentProvider provider = new TMLDocumentProvider();   
      IFileEditorInput input = new FileEditorInput(file);     
      provider.connect(input);
     
      VersionCompliance versionCompliance = WGADesignStructureHelper.getWGAVersionCompliance(file);
     
      Iterator<MarkingHandler> it = allHandlers.iterator();
      while (it.hasNext()) {
        MarkingHandler handler = it.next()
        handler.setWGAVersionCompliance(versionCompliance);
        handler.setDocumentProvider(provider);
        handler.createMarkers(file, provider.getDocument(input));       
      }     
      provider.disconnect(input);
    } catch (CoreException e) {
      Plugin.getDefault().logError("Unable to validate tml file '" + file.getLocation().toString() + "'.", e);
    }
  }
View Full Code Here

TOP

Related Classes of de.innovationgate.eclipse.editors.tml.TMLDocumentProvider

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.