Class EditableSharedDocumentAdapter.SharedDocumentAdapterListener

  • Enclosing class:
    EditableSharedDocumentAdapter

    public static class EditableSharedDocumentAdapter.SharedDocumentAdapterListener
    extends java.lang.Object
    Interface that provides this adapter with the state of the typed element and supports call backs to the element when the adapter state changes.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void handleDocumentConnected()
      Method that is invoked when the adapter connects to the document provider.
      (package private) void handleDocumentDeleted()
      Method invoked when the file behind the shared document is deleted.
      (package private) void handleDocumentDisconnected()
      Method that is invoked when the adapter disconnects from the document provider.
      (package private) void handleDocumentFlushed()
      Method invoked when changes in the document are flushed to the adapter.
      (package private) void handleDocumentSaved()
      Method invoked when the document dirty state changes from dirty to clean.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SharedDocumentAdapterListener

        public SharedDocumentAdapterListener​(StreamContent content)
    • Method Detail

      • handleDocumentConnected

        void handleDocumentConnected()
        Method that is invoked when the adapter connects to the document provider. This method is only invoked when the adapter first connects to the document.
      • handleDocumentDisconnected

        void handleDocumentDisconnected()
        Method that is invoked when the adapter disconnects from the document provider. This method is only invoked when the adapter no longer has any connection to the document provider.
      • handleDocumentFlushed

        void handleDocumentFlushed()
        Method invoked when changes in the document are flushed to the adapter.
      • handleDocumentDeleted

        void handleDocumentDeleted()
        Method invoked when the file behind the shared document is deleted.
      • handleDocumentSaved

        void handleDocumentSaved()
        Method invoked when the document dirty state changes from dirty to clean.