Package org.springframework.ide.eclipse.beans.ui.refactoring.ltk

Examples of org.springframework.ide.eclipse.beans.ui.refactoring.ltk.RenameIdRefactoring


            && "id".equals(attributeName)) {
          idType = RenameIdType.POINTCUT;
        }

        if (idType != null) {
          RenameIdRefactoring refactoring = new RenameIdRefactoring();
          refactoring.setType(idType);
          refactoring.setNode((IDOMNode) node);
          refactoring.setBeanId(BeansEditorUtils.getAttribute(node,
              "id"));
          refactoring.setFile(getConfigFile(event));
          refactoring.setOffset(textSelection.getOffset());
          RenameIdRefactoringWizard wizard = new RenameIdRefactoringWizard(
              refactoring, "Rename " + idType.getType() + " id");
          run(wizard, BeansUIPlugin.getActiveWorkbenchShell(),
              "Rename " + idType.getType() + " id");
        } else {
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.beans.ui.refactoring.ltk.RenameIdRefactoring

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.