public class DocumentTelemetryParticipant extends Object implements IDocumentLifecycleParticipant
Constructor and Description |
---|
DocumentTelemetryParticipant(TelemetryManager telemetryManager,
ContentModelManager contentManager) |
Modifier and Type | Method and Description |
---|---|
void |
didChange(DOMDocument document)
Handler called when an XML document is changed.
|
void |
didClose(DOMDocument document)
Handler called when an XML document is closed.
|
void |
didOpen(DOMDocument document)
Handler called when an XML document is opened.
|
void |
didSave(DOMDocument document)
Handler called when an XML document is saved.
|
public DocumentTelemetryParticipant(TelemetryManager telemetryManager, ContentModelManager contentManager)
public void didOpen(DOMDocument document)
IDocumentLifecycleParticipant
didOpen
in interface IDocumentLifecycleParticipant
document
- the DOM documentpublic void didChange(DOMDocument document)
IDocumentLifecycleParticipant
didChange
in interface IDocumentLifecycleParticipant
document
- the DOM documentpublic void didSave(DOMDocument document)
IDocumentLifecycleParticipant
didSave
in interface IDocumentLifecycleParticipant
document
- the DOM documentpublic void didClose(DOMDocument document)
IDocumentLifecycleParticipant
didClose
in interface IDocumentLifecycleParticipant
document
- the DOM documentCopyright © 2021. All rights reserved.