Class BslDocumentProviderSaveDocumentExtensionContext

  • public class BslDocumentProviderSaveDocumentExtensionContext
    extends Object
    Context of the save operation
    • Constructor Detail

      • BslDocumentProviderSaveDocumentExtensionContext

        public BslDocumentProviderSaveDocumentExtensionContext​(org.eclipse.jface.text.IDocument document)
        Constructs the context
        document - The document, may not be null
    • Method Detail

      • getClientContext

        public Object getClientContext()
        Gets the client context object, if any. Clients are able to transfer data between pre and post stages of the saving using this context
        The client context object. May be null
      • getDocument

        public org.eclipse.jface.text.IDocument getDocument()
        Gets the associated document
        The document. May not be null
      • setClientContext

        public void setClientContext​(Object clientContext)
        Set the client context
        clientContext - The context to set. May be null
      • setDocument

        public void setDocument​(org.eclipse.jface.text.IDocument document)
        The client could replace the associated document during the processing
        document - The document to replace the previous one with. May not be null