Package com._1c.g5.v8.dt.bsl.ui.editor
Class BslDocumentProviderSaveDocumentExtensionContext
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.ui.editor.BslDocumentProviderSaveDocumentExtensionContext
-
public class BslDocumentProviderSaveDocumentExtensionContext extends Object
Context of the save operation
-
-
Constructor Summary
Constructors Constructor Description BslDocumentProviderSaveDocumentExtensionContext(org.eclipse.jface.text.IDocument document)
Constructs the context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getClientContext()
Gets the client context object, if any.org.eclipse.jface.text.IDocument
getDocument()
Gets the associated documentvoid
setClientContext(Object clientContext)
Set the client contextvoid
setDocument(org.eclipse.jface.text.IDocument document)
The client could replace the associated document during the processing
-
-
-
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- Returns:
- The client context object. May be
null
-
getDocument
public org.eclipse.jface.text.IDocument getDocument()
Gets the associated document- Returns:
- The document. May not be
null
-
setClientContext
public void setClientContext(Object clientContext)
Set the client context- Parameters:
clientContext
- The context to set. May benull
-
setDocument
public void setDocument(org.eclipse.jface.text.IDocument document)
The client could replace the associated document during the processing- Parameters:
document
- The document to replace the previous one with. May not benull
-
-