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

All Superinterfaces:
UIComponentSPI
All Known Implementing Classes:
IterationStrategyEditor, TemplateEditor

public interface ProcessorViewSPI
extends UIComponentSPI

Interface for classes which should be notified about changes to the current active processor object within the workbench UI

Author:
Tom Oinn

Method Summary
 void attachToModel(Processor p)
          Directs the implementing component to bind to the specified Processor 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(Processor p)
Directs the implementing component to bind to the specified Processor 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.