org.embl.ebi.escience.scuflui.spi
Interface WorkflowModelViewSPI

All Superinterfaces:
UIComponentSPI
All Known Implementing Classes:
AdvancedModelExplorer, APConfigPanel, BlankScavengerTreePanel, BSFConfigPanel, DefaultScavengerTree, DotTextArea, RshellConfigPanel, ScavengerTreePanel, ScuflDiagramPanel, ScuflModelExplorer, ScuflModelTreeTable, ScuflModelTreeTableContrib, ScuflSVGDiagram, WorkflowEditor, WorkflowInputMapBuilder, XScuflTextArea, XScuflTree

public interface WorkflowModelViewSPI
extends UIComponentSPI

Interface for classes which should be notified about changes to the current active workflow model (ModelMap.CURRENT_WORKFLOW) object within the workbench UI

Author:
Tom Oinn

Method Summary
 void attachToModel(ScuflModel model)
          Directs the implementing component to bind to the specified ScuflModel instance, refresh its internal state from the model and commence listening to events, maintaining its state as these events dictate.
 void detachFromModel()
          Directs the implementing component to detach from the model, set its internal state to some suitable blank (i.e.
 
Methods inherited from interface org.embl.ebi.escience.scuflui.spi.UIComponentSPI
getIcon, getName, onDisplay, onDispose
 

Method Detail

attachToModel

void attachToModel(ScuflModel model)
Directs the implementing component to bind to the specified ScuflModel instance, refresh its internal state from the model and commence listening to events, maintaining its state as these events dictate.


detachFromModel

void detachFromModel()
Directs the implementing component to detach from the model, set its internal state to some suitable blank (i.e. blank image, no text in a text field etc) and desist from listening to model events.