|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ltk.core.refactoring.participants.RenameParticipant com.alveole.studio.web.refactoring.RenameParticipant
public class RenameParticipant
This RefactoringParticipant is a listener that watches java class renaming. When a class or a JSP file is renamed, all references to it are changed from MVC Web Project files. If a class is renamed, all interceptors, actions and result-types are updated.
Constructor Summary | |
---|---|
RenameParticipant()
Constructor. |
Method Summary | |
---|---|
RefactoringStatus |
checkConditions(org.eclipse.core.runtime.IProgressMonitor pm,
CheckConditionsContext context)
Check conditions for this handler and prepare changes to be performed. |
Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm)
Returns changes that were prepared during check. |
java.lang.String |
getName()
Gets this participant name. |
protected boolean |
initialize(java.lang.Object element)
Initialize object to be renamed. |
protected RefactoringStatus |
performActionInit(RefactoringStatus retStatus,
AnyChange act)
Performs an action initialization. |
protected RefactoringStatus |
renameDir(org.eclipse.core.resources.IFile projectFile,
RefactoringStatus retStatus,
org.eclipse.core.resources.IContainer from,
org.eclipse.core.resources.IContainer to)
Recursively rename a dir... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenameParticipant()
Method Detail |
---|
public Change createChange(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
public java.lang.String getName()
protected boolean initialize(java.lang.Object element)
protected RefactoringStatus performActionInit(RefactoringStatus retStatus, AnyChange act)
protected RefactoringStatus renameDir(org.eclipse.core.resources.IFile projectFile, RefactoringStatus retStatus, org.eclipse.core.resources.IContainer from, org.eclipse.core.resources.IContainer to)
public RefactoringStatus checkConditions(org.eclipse.core.runtime.IProgressMonitor pm, CheckConditionsContext context) throws org.eclipse.core.runtime.OperationCanceledException
org.eclipse.core.runtime.OperationCanceledException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |