|
|||||||||
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.MoveParticipant com.alveole.studio.web.refactoring.MoveParticipant
public class MoveParticipant
This MoveParticipant is a listener that watches java class moving from one package to another. If a class is moved, all interceptors, actions and result-types are updated.
Constructor Summary | |
---|---|
MoveParticipant()
|
Method Summary | |
---|---|
RefactoringStatus |
checkConditions(org.eclipse.core.runtime.IProgressMonitor pm,
CheckConditionsContext context)
Check conditions and initialize all transformations. |
Change |
createChange(org.eclipse.core.runtime.IProgressMonitor pm)
Get prepared changes. |
java.lang.String |
getName()
Gets a name for this participant. |
protected boolean |
initialize(java.lang.Object element)
Initialize object to be moved. |
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 moves a dir... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MoveParticipant()
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 |