Package com.e1c.g5.v8.dt.bsl.check.qfix
Class BslIssueModificationContext
java.lang.Object
org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext
com._1c.g5.v8.dt.lcore.ui.editor.ViewerAwareIssueModificationContext
com.e1c.g5.v8.dt.bsl.check.qfix.BslIssueModificationContext
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.model.edit.IModificationContext
Extension of
IssueModificationContext to be used by quick fixes and suppressions-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext
org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext.Factory -
Constructor Summary
ConstructorsConstructorDescriptionBslIssueModificationContext(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.IURIEditorOpener editorOpener) Instantiates modification context -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.xtext.ui.editor.model.IXtextDocumentorg.eclipse.xtext.ui.editor.model.IXtextDocumentgetXtextDocument(org.eclipse.emf.common.util.URI uri) Methods inherited from class com._1c.g5.v8.dt.lcore.ui.editor.ViewerAwareIssueModificationContext
extractTextViewer, getTextViewer, setTextViewerMethods inherited from class org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext
getIssue, setIssue
-
Constructor Details
-
BslIssueModificationContext
public BslIssueModificationContext(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.IURIEditorOpener editorOpener) Instantiates modification context- Parameters:
issue- the issue, cannot benulleditorOpener- the editor opener, cannot benull
-
-
Method Details
-
getXtextDocument
public org.eclipse.xtext.ui.editor.model.IXtextDocument getXtextDocument()- Specified by:
getXtextDocumentin interfaceorg.eclipse.xtext.ui.editor.model.edit.IModificationContext- Overrides:
getXtextDocumentin classorg.eclipse.xtext.ui.editor.model.edit.IssueModificationContext
-
getXtextDocument
public org.eclipse.xtext.ui.editor.model.IXtextDocument getXtextDocument(org.eclipse.emf.common.util.URI uri) - Specified by:
getXtextDocumentin interfaceorg.eclipse.xtext.ui.editor.model.edit.IModificationContext- Overrides:
getXtextDocumentin classViewerAwareIssueModificationContext
-