insensa.commands
Class RenameFileSetCommand

java.lang.Object
  extended by insensa.commands.AbstractModelCommand
      extended by insensa.commands.RenameFileSetCommand
All Implemented Interfaces:
ModelCommand

public class RenameFileSetCommand
extends AbstractModelCommand


Field Summary
private  CRasterFileSet fileSet
           
private  java.lang.String newName
           
 
Fields inherited from class insensa.commands.AbstractModelCommand
problem, workerStatus
 
Constructor Summary
RenameFileSetCommand(CRasterFileSet fileSet, java.lang.String newName)
           
 
Method Summary
 void execute()
           
private  void relocateFilesIter(CRasterFileSet fileSet, CProject project)
           
 
Methods inherited from class insensa.commands.AbstractModelCommand
check, createDependendCommands, getProblem, getWorkerStatus, retry, setWorkerStatus, throwErrorMessage, throwProblem, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileSet

private CRasterFileSet fileSet

newName

private java.lang.String newName
Constructor Detail

RenameFileSetCommand

public RenameFileSetCommand(CRasterFileSet fileSet,
                            java.lang.String newName)
Parameters:
fileSet -
newName -
Method Detail

execute

public void execute()
             throws java.io.IOException,
                    CRasterFileException
Throws:
java.io.IOException
CRasterFileException
See Also:
ModelCommand.execute()

relocateFilesIter

private void relocateFilesIter(CRasterFileSet fileSet,
                               CProject project)
Parameters:
fileSet -
project -