org.topcased.core.refactoring
Class RenameModelFileChange
java.lang.Object
org.eclipse.ltk.core.refactoring.Change
org.topcased.core.refactoring.RenameModelFileChange
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable
public class RenameModelFileChange
- extends org.eclipse.ltk.core.refactoring.Change
An implementation of a Change
Creation 11 janv. 07
|
Method Summary |
java.lang.Object |
getModifiedElement()
|
java.lang.String |
getName()
|
void |
initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
|
org.eclipse.ltk.core.refactoring.RefactoringStatus |
isValid(org.eclipse.core.runtime.IProgressMonitor pm)
|
org.eclipse.ltk.core.refactoring.Change |
perform(org.eclipse.core.runtime.IProgressMonitor pm)
|
| Methods inherited from class org.eclipse.ltk.core.refactoring.Change |
dispose, getAdapter, getAffectedObjects, getDescriptor, getParent, isEnabled, setEnabled, setEnabledShallow |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenameModelFileChange
public RenameModelFileChange(RenameModelFileInfo info,
java.util.List<Resource> resourcesToRename)
- The constructor
- Parameters:
info - an Object that contains informations about the refactoringresourcesToRename - a List of the Resource that should be renamed. These Resources are contained in the
ResourceSet associated with the info object
getModifiedElement
public java.lang.Object getModifiedElement()
- Specified by:
getModifiedElement in class org.eclipse.ltk.core.refactoring.Change
- See Also:
Change.getModifiedElement()
getName
public java.lang.String getName()
- Specified by:
getName in class org.eclipse.ltk.core.refactoring.Change
- See Also:
Change.getName()
initializeValidationData
public void initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
- Specified by:
initializeValidationData in class org.eclipse.ltk.core.refactoring.Change
- See Also:
Change.initializeValidationData(org.eclipse.core.runtime.IProgressMonitor)
isValid
public org.eclipse.ltk.core.refactoring.RefactoringStatus isValid(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException,
org.eclipse.core.runtime.OperationCanceledException
- Specified by:
isValid in class org.eclipse.ltk.core.refactoring.Change
- Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException- See Also:
Change.isValid(org.eclipse.core.runtime.IProgressMonitor)
perform
public org.eclipse.ltk.core.refactoring.Change perform(org.eclipse.core.runtime.IProgressMonitor pm)
throws org.eclipse.core.runtime.CoreException
- Specified by:
perform in class org.eclipse.ltk.core.refactoring.Change
- Throws:
org.eclipse.core.runtime.CoreException- See Also:
Change.perform(org.eclipse.core.runtime.IProgressMonitor)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.