Examples of RenamePHPElementDescriptor


Examples of org.pdtextensions.internal.corext.refactoring.RenamePHPElementDescriptor

  public RefactoringStatus checkInitialConditions(IProgressMonitor pm) throws CoreException, OperationCanceledException {
    return new RefactoringStatus();
  }

  protected RefactoringDescriptor createRefactoringDescriptor() {
    RenamePHPElementDescriptor descriptor = new RenamePHPElementDescriptor(getRefactoringId());
    if (cu.getScriptProject() != null) {
      descriptor.setProject(cu.getScriptProject().getElementName());
    }

    descriptor.setFlags(RefactoringDescriptor.NONE);
    descriptor.setModelElement(modelElement);
    descriptor.setNewName(getNewElementName());
    descriptor.setUpdateReferences(updateReferences);

    return descriptor;
  }
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.