Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.WorkingCopyOwner


  }

  public ISourceModule getWorkingCopy(String path, String source,
      boolean computeProblems) throws ModelException {
    if (this.wcOwner == null)
      this.wcOwner = new WorkingCopyOwner() {
      };
    return getWorkingCopy(path, source, this.wcOwner, computeProblems);
  }
View Full Code Here


    // configure nature
    IProjectDescription desc = project.getDescription();
    desc.setNatureIds(new String[] { PHPNature.ID });
    project.setDescription(desc, null);

    WorkingCopyOwner.setPrimaryBufferProvider(new WorkingCopyOwner() {
      public IBuffer createBuffer(ISourceModule workingCopy) {
        ISourceModule original = workingCopy.getPrimary();
        IResource resource = original.getResource();
        if (resource != null) {
          if (resource instanceof IFile) {
View Full Code Here

        public void endReporting() {/*not interested*/}
        public boolean isActive() {
          return true;
        }
      };
      WorkingCopyOwner workingCopyOwner= new WorkingCopyOwner() {
        public IProblemRequestor getProblemRequestor(ISourceModule workingCopy) {
          return problemRequestor;
        }
      };
      ISourceModule wc= input.getWorkingCopy(workingCopyOwner, null, new NullProgressMonitor());
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.core.WorkingCopyOwner

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.