Package com.iizigo.java.refactor
Class Move
- java.lang.Object
- org.eclipse.core.runtime.PlatformObject
- org.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
- org.eclipse.ltk.core.refactoring.participants.MoveParticipant
- com.iizigo.java.refactor.Move
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
public class Move extends org.eclipse.ltk.core.refactoring.participants.MoveParticipantImplements refactoring move action with do/undo.- Author:
- Mikael Andersson, Christopher Mindus
Constructor Summary
Constructors Constructor Description Move()Default Eclipse constructor.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.ltk.core.refactoring.RefactoringStatuscheckConditions(org.eclipse.core.runtime.IProgressMonitor pm, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context)org.eclipse.ltk.core.refactoring.ChangecreateChange(org.eclipse.core.runtime.IProgressMonitor pm)java.lang.StringgetName()protected booleaninitialize(java.lang.Object element)Methods inherited from class org.eclipse.ltk.core.refactoring.participants.MoveParticipant
getArguments, initialize
Method Detail
initialize
protected boolean initialize(java.lang.Object element)
- Specified by:
initializein classorg.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
getName
public java.lang.String getName()
- Specified by:
getNamein classorg.eclipse.ltk.core.refactoring.participants.RefactoringParticipant
checkConditions
public org.eclipse.ltk.core.refactoring.RefactoringStatus checkConditions(org.eclipse.core.runtime.IProgressMonitor pm, org.eclipse.ltk.core.refactoring.participants.CheckConditionsContext context) throws org.eclipse.core.runtime.OperationCanceledException- Specified by:
checkConditionsin classorg.eclipse.ltk.core.refactoring.participants.RefactoringParticipant- Throws:
org.eclipse.core.runtime.OperationCanceledException
createChange
public org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException- Specified by:
createChangein classorg.eclipse.ltk.core.refactoring.participants.RefactoringParticipant- Throws:
org.eclipse.core.runtime.CoreExceptionorg.eclipse.core.runtime.OperationCanceledException