Interface ISaveContext
- All Superinterfaces:
ICodeLensRefresher,IDiagnosticsRefresher,IXMLDocumentProvider
- All Known Implementing Classes:
AbstractSaveContext,XMLTextDocumentService.SaveContext
public interface ISaveContext
extends IXMLDocumentProvider, IDiagnosticsRefresher, ICodeLensRefresher
Save context API.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe save context type: DOCUMENT: a document is saved. SETTINGS: a settings is saved. -
Method Summary
Methods inherited from interface org.eclipse.lemminx.services.extensions.ICodeLensRefresher
isCodeLensRefreshRequested, requestCodeLensRefreshMethods inherited from interface org.eclipse.lemminx.services.extensions.IDiagnosticsRefresher
refreshDiagnosticsMethods inherited from interface org.eclipse.lemminx.services.IXMLDocumentProvider
getAllDocuments, getDocument
-
Method Details
-
getType
ISaveContext.SaveContextType getType()Returns the save context type.- Returns:
- the save context type.
-
getUri
String getUri()Returns the document URI which was saved and null if it's a settings which was saved.- Returns:
- the document URI which was saved and null if it's a settings which was saved.
-
getSettings
Object getSettings()Returns the settings which has changed and null otherwise.- Returns:
- the settings which has changed and null otherwise.
-