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

All Superinterfaces:
UIComponentSPI
All Known Implementing Classes:
ScuflSemanticMarkupEditor

public interface SemanticMarkupViewSPI
extends UIComponentSPI

View and or Control over a SemanticMarkup model object

Author:
Tom Oinn

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