Package org.eclipse.jdt.core

Examples of org.eclipse.jdt.core.IRegion


      IJavaElement e = this.elementsToProcess[i];
      ICompilationUnit cu = getCompilationUnitFor(e);
      if (cu == null) {
        throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.READ_ONLY, e));
      } else {
        IRegion region = (IRegion) this.childrenToRemove.get(cu);
        if (region == null) {
          region = new Region();
          this.childrenToRemove.put(cu, region);
          uniqueCUs += 1;
        }
        region.add(e);
      }
    }
    this.elementsToProcess = new IJavaElement[uniqueCUs];
    Iterator iter = this.childrenToRemove.keySet().iterator();
    int i = 0;
View Full Code Here


      IJavaElement e = this.elementsToProcess[i];
      ICompilationUnit cu = getCompilationUnitFor(e);
      if (cu == null) {
        throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.READ_ONLY, e));
      } else {
        IRegion region = (IRegion) this.childrenToRemove.get(cu);
        if (region == null) {
          region = new Region();
          this.childrenToRemove.put(cu, region);
          uniqueCUs += 1;
        }
        region.add(e);
      }
    }
    this.elementsToProcess = new IJavaElement[uniqueCUs];
    Iterator iter = this.childrenToRemove.keySet().iterator();
    int i = 0;
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.core.IRegion

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.