ides.api.core
Interface WorkspaceSubscriber


public interface WorkspaceSubscriber

Implemented by classes that wish to receive change notifications from the Workspace.

Author:
Helen Bretzke

Method Summary
 void aboutToRearrangeWorkspace()
          Notifies this subscriber that the layout of the workspace is about to change (e.g., a new model is about to become the active model).
 void modelCollectionChanged(WorkspaceMessage message)
          Notifies this subscriber that a model collection change (a DES model is created or opened (added) or closed (removed), etc.) has occurred in the workspace.
 void modelSwitched(WorkspaceMessage message)
          Notifies this subscriber that a new model has become the active model in the workspace.
 void repaintRequired()
          Notifies this subscriber that a change requiring a repaint has occurred in the workspace.
 

Method Detail

modelCollectionChanged

void modelCollectionChanged(WorkspaceMessage message)
Notifies this subscriber that a model collection change (a DES model is created or opened (added) or closed (removed), etc.) has occurred in the workspace.

Parameters:
message - details of the change notification

repaintRequired

void repaintRequired()
Notifies this subscriber that a change requiring a repaint has occurred in the workspace.


modelSwitched

void modelSwitched(WorkspaceMessage message)
Notifies this subscriber that a new model has become the active model in the workspace.

Parameters:
message - details of the change notification

aboutToRearrangeWorkspace

void aboutToRearrangeWorkspace()
Notifies this subscriber that the layout of the workspace is about to change (e.g., a new model is about to become the active model).