Package org.cfeclipse.cfml.external

Examples of org.cfeclipse.cfml.external.ExternalFile


          else if(element instanceof CFJavaFileEditorInput)
        {
              String filepath = ((CFJavaFileEditorInput)element).getPath(element).toString();
              IPath path = new Path(filepath);
              Workspace workspace = (Workspace)CFMLPlugin.getWorkspace();
              IFile file = new ExternalFile(path,workspace);
              model = ((ExternalFile)file).getAnnotationModel();
       
          document.setParserResource(file);
          document.clearAllMarkers();
          document.parseDocument();
        }
          else if (element instanceof RemoteFileEditorInput)
        {
              String filepath = ((RemoteFileEditorInput)element).getPath(element).toString();
              Path path = new Path(filepath);
              Workspace workspace = (Workspace)CFMLPlugin.getWorkspace();
              ExternalFile file = new ExternalFile(path,workspace);
              model = file.getAnnotationModel();
              document.setParserResource(file);
              document.clearAllMarkers();
              document.parseDocument();
        }
          else if(element instanceof FileStoreEditorInput)
        {
              String filepath = ((FileStoreEditorInput)element).getURI().getPath().toString();
              IPath path = new Path(filepath);
              Workspace workspace = (Workspace)CFMLPlugin.getWorkspace();
              IFile file = new ExternalFile(path,workspace);
              model = ((ExternalFile)file).getAnnotationModel();
       
          document.setParserResource(file);
          document.clearAllMarkers();
          document.parseDocument();
View Full Code Here

TOP

Related Classes of org.cfeclipse.cfml.external.ExternalFile

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.