NeatTools Module Context
Each NeatTools module can be in one of several states, depending on
user selections. Each state is represented by a class which is
a subclass of WebFlowContext:
WebFlowContext
|
+-- StateReady
StateModuleSelected
StateOutputSelected
StateInputActivated
Fields
StateReady Methods
- InputSelected() - does nothing.
- OutputSelected() - changes to StateOutputSelected.
- ModuleSelected() - changes to StateModuleSelected.
- NothingSelected() - does nothing.
StateModuleSelected Methods
- InputSelected() - does nothing.
- OutputSelected() - changes to StateOutputSelected.
- ModuleSelected() - deselects module, changes to StateReady.
- NothingSelected() - deselects module, changes to StateReady.
StateOutputSelected Methods
- InputSelected() - does nothing.
- OutputSelected() - deselects output, changes to StateReady.
- ModuleSelected() - deselects output, changes to StateModuleSelected.
- NothingSelected() - deselects output, changes to StateReady.
StateInputActivated Methods
The NeatTools application puts appropriate modules in and out of this
state depending on whether an output is selected, and the type of that
output.
- InputSelected() - tells application to associate selected output with
input, changes to StateReady.
- OutputSelected() - does nothing.
- ModuleSelected() - same as InputSelected()
- NothingSelected() - changes to StateReady.