Interface MTDocumentListener

All Superinterfaces:
EventListener

public interface MTDocumentListener extends EventListener
Listener interface for documents. This can be registered according to the whiteboard pattern.
Author:
Per-Erik
  • Method Details

    • documentAdded

      void documentAdded(MTDocument added, MTRepository repository)
      Called when a document is added/created.
      Parameters:
      added - The added document.
      repository - The repository that the docuemtn is now a part of.
    • documentRemoved

      void documentRemoved(MTDocumentHeader removed, MTRepository repository)
      Called when a document is removed.
      Parameters:
      removed - The removed document.
      repository - The repository that the docuemtn was a part of.
    • documentChanged

      void documentChanged(DocumentChangeEvent event)
      Called when a document has changed.
      Parameters:
      event - An event containing information about the change.