org.keridwen.modelling.gmsh.command
Class MeshToVtkCommand

java.lang.Object
  extended by org.keridwen.core.messaging.AbstractCommand<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>
      extended by org.keridwen.modelling.gmsh.command.MeshToVtkCommand
All Implemented Interfaces:
org.keridwen.core.data.model.progress.Controllable, org.keridwen.core.data.model.progress.Progressable, org.keridwen.core.messaging.Command<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>

public class MeshToVtkCommand
extends org.keridwen.core.messaging.AbstractCommand<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>


Constructor Summary
MeshToVtkCommand()
           
 
Method Summary
 void pause()
           
 void resume()
           
 vtk.vtkUnstructuredGrid run(com.artenum.penelope.mesh.interfaces.Mesh message)
           
 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

MeshToVtkCommand

public MeshToVtkCommand()
Method Detail

undo

public void undo()
Specified by:
undo in interface org.keridwen.core.messaging.Command<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>
Specified by:
undo in class org.keridwen.core.messaging.AbstractCommand<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>

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<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>

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<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>

validatePostConditions

public boolean validatePostConditions()
Specified by:
validatePostConditions in interface org.keridwen.core.messaging.Command<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>
Specified by:
validatePostConditions in class org.keridwen.core.messaging.AbstractCommand<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>

run

public vtk.vtkUnstructuredGrid run(com.artenum.penelope.mesh.interfaces.Mesh message)
                            throws org.keridwen.core.messaging.CommandException
Specified by:
run in class org.keridwen.core.messaging.AbstractCommand<vtk.vtkUnstructuredGrid,com.artenum.penelope.mesh.interfaces.Mesh>
Throws:
org.keridwen.core.messaging.CommandException


Copyright © 2012-2013 Artenum. All Rights Reserved.