public class RenameRefactoring extends AbstractPomRefactoring
editingDomain, file, PROBLEMS_DURING_REFACTORING
Constructor and Description |
---|
RenameRefactoring(org.eclipse.core.resources.IFile file,
MavenRenameWizardPage page) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.command.CompoundCommand |
applyModel(RefactoringModelResources model,
String newGroupId,
String newArtifactId,
String newVersion,
boolean processRoot)
Applies new values in model
|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm) |
String |
getName() |
String |
getNewProjectName() |
String |
getTitle() |
PomVisitor |
getVisitor() |
boolean |
scanAllArtifacts() |
checkFinalConditions, createChange, createModel, getParentProject, loadModel, loadResource, processCommand
public RenameRefactoring(org.eclipse.core.resources.IFile file, MavenRenameWizardPage page)
public String getNewProjectName()
getNewProjectName
in class AbstractPomRefactoring
public org.eclipse.emf.common.command.CompoundCommand applyModel(RefactoringModelResources model, String newGroupId, String newArtifactId, String newVersion, boolean processRoot) throws Exception
editingDomain
- renameProject
- NoSuchMethodException
Exception
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkInitialConditions(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
checkInitialConditions
in class org.eclipse.ltk.core.refactoring.Refactoring
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public String getName()
getName
in class org.eclipse.ltk.core.refactoring.Refactoring
public PomVisitor getVisitor()
getVisitor
in class AbstractPomRefactoring
public boolean scanAllArtifacts()
scanAllArtifacts
in class AbstractPomRefactoring
public String getTitle()
getTitle
in class AbstractPomRefactoring
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.