insensa.commands
Class RenameRasterFileCommand

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

public class RenameRasterFileCommand
extends AbstractModelCommand


Field Summary
private  java.lang.String newFileName
           
private  CRasterFileSet selectedFileSet
           
private  CRasterFileInformation selectedRasterFile
           
 
Fields inherited from class insensa.commands.AbstractModelCommand
problem, workerStatus
 
Constructor Summary
RenameRasterFileCommand(CRasterFileSet fileSet, CRasterFileInformation file, java.lang.String newFile)
           
 
Method Summary
 void execute()
           
 
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

selectedFileSet

private CRasterFileSet selectedFileSet

selectedRasterFile

private CRasterFileInformation selectedRasterFile

newFileName

private java.lang.String newFileName
Constructor Detail

RenameRasterFileCommand

public RenameRasterFileCommand(CRasterFileSet fileSet,
                               CRasterFileInformation file,
                               java.lang.String newFile)
Parameters:
fileSet -
file -
newFile -
Method Detail

execute

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