org.keridwen.modelling.autoplot.command
Class AutoplotCommand

java.lang.Object
  extended by org.keridwen.core.messaging.AbstractCommand<Boolean,File>
      extended by org.keridwen.modelling.autoplot.command.AutoplotCommand
All Implemented Interfaces:
org.keridwen.core.data.model.progress.Controllable, org.keridwen.core.data.model.progress.Progressable, org.keridwen.core.messaging.Command<Boolean,File>

public class AutoplotCommand
extends org.keridwen.core.messaging.AbstractCommand<Boolean,File>


Constructor Summary
AutoplotCommand()
           
 
Method Summary
 void pause()
           
 void resume()
           
 Boolean run(File fileToOpen)
           
 void undo()
           
 boolean validatePostConditions()
           
 
Methods inherited from class org.keridwen.core.messaging.AbstractCommand
addControllableListener, addProgressableListener, checkPreConditions, clearControllableListener, clearProgressableListener, execute, getApplicationModel, getBundleModel, getDescription, getLabel, getLogLevel, getProgress, getState, interrupt, isDetermined, isInterrupted, isInterruptible, isPausable, isUndoable, notifyProgressChanged, notifyStatusChanged, removeControllableListener, removeProgressableListener, setCommandStatus, setModels, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoplotCommand

public AutoplotCommand()
Method Detail

undo

public void undo()
Specified by:
undo in interface org.keridwen.core.messaging.Command<Boolean,File>
Specified by:
undo in class org.keridwen.core.messaging.AbstractCommand<Boolean,File>

pause

public void pause()
Specified by:
pause in interface org.keridwen.core.data.model.progress.Controllable
Specified by:
pause in class org.keridwen.core.messaging.AbstractCommand<Boolean,File>

resume

public void resume()
Specified by:
resume in interface org.keridwen.core.data.model.progress.Controllable
Specified by:
resume in class org.keridwen.core.messaging.AbstractCommand<Boolean,File>

validatePostConditions

public boolean validatePostConditions()
Specified by:
validatePostConditions in interface org.keridwen.core.messaging.Command<Boolean,File>
Specified by:
validatePostConditions in class org.keridwen.core.messaging.AbstractCommand<Boolean,File>

run

public Boolean run(File fileToOpen)
            throws org.keridwen.core.messaging.CommandException
Specified by:
run in class org.keridwen.core.messaging.AbstractCommand<Boolean,File>
Throws:
org.keridwen.core.messaging.CommandException


Copyright © 2013 Artenum. All Rights Reserved.