ides.api.plugin.model
Interface DESModelPublisher

All Known Subinterfaces:
DESModel, FSAModel, FSASupervisor, ParentModel, SupervisoryEventSet

public interface DESModelPublisher

A publisher of DESModelMessages.

Author:
Lenko Grigorov

Method Summary
 void addSubscriber(DESModelSubscriber subscriber)
          Attaches the given subscriber to this publisher.
 DESModelSubscriber[] getDESModelSubscribers()
          Returns all current subscribers to this publisher.
 void removeSubscriber(DESModelSubscriber subscriber)
          Removes the given subscriber to this publisher.
 

Method Detail

addSubscriber

void addSubscriber(DESModelSubscriber subscriber)
Attaches the given subscriber to this publisher. The given subscriber will receive notifications of changes from this publisher.

Parameters:
subscriber -

removeSubscriber

void removeSubscriber(DESModelSubscriber subscriber)
Removes the given subscriber to this publisher. The given subscriber will no longer receive notifications of changes from this publisher.

Parameters:
subscriber -

getDESModelSubscribers

DESModelSubscriber[] getDESModelSubscribers()
Returns all current subscribers to this publisher.

Returns:
all current subscribers to this publisher