templates.diagram
Interface TemplateDiagramSubscriber

All Known Implementing Classes:
IssuesViewer, TemplateCanvas, TemplateConsistencyCanvas, TemplateEditableCanvas

public interface TemplateDiagramSubscriber

Callback interface for listeners for changes in TemplateDiagrams. Such listeners need to register with the TemplateDiagrams they'd like to monitor.

Author:
Lenko Grigorov

Method Summary
 void templateDiagramChanged(TemplateDiagramMessage message)
          Called when there has been a change to the structure of the TemplateDiagram to which this listener subscribes.
 void templateDiagramSelectionChanged(TemplateDiagramMessage message)
          Called when there has been a change to the collection of selected DiagramElements in the TemplateDiagram to which this listener subscribes.
 

Method Detail

templateDiagramChanged

void templateDiagramChanged(TemplateDiagramMessage message)
Called when there has been a change to the structure of the TemplateDiagram to which this listener subscribes.

Parameters:
message - the description of the change

templateDiagramSelectionChanged

void templateDiagramSelectionChanged(TemplateDiagramMessage message)
Called when there has been a change to the collection of selected DiagramElements in the TemplateDiagram to which this listener subscribes.

Parameters:
message - the description of the new collection of selected DiagramElements