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

public class BslIssueModificationContext extends ViewerAwareIssueModificationContext
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

    Constructors
    Constructor
    Description
    BslIssueModificationContext(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.IURIEditorOpener editorOpener)
    Instantiates modification context
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.xtext.ui.editor.model.IXtextDocument
     
    org.eclipse.xtext.ui.editor.model.IXtextDocument
    getXtextDocument(org.eclipse.emf.common.util.URI uri)
     

    Methods inherited from class com._1c.g5.v8.dt.lcore.ui.editor.ViewerAwareIssueModificationContext

    extractTextViewer, getTextViewer, setTextViewer

    Methods inherited from class org.eclipse.xtext.ui.editor.model.edit.IssueModificationContext

    getIssue, setIssue

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 be null
      editorOpener - the editor opener, cannot be null
  • Method Details

    • getXtextDocument

      public org.eclipse.xtext.ui.editor.model.IXtextDocument getXtextDocument()
      Specified by:
      getXtextDocument in interface org.eclipse.xtext.ui.editor.model.edit.IModificationContext
      Overrides:
      getXtextDocument in class org.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:
      getXtextDocument in interface org.eclipse.xtext.ui.editor.model.edit.IModificationContext
      Overrides:
      getXtextDocument in class ViewerAwareIssueModificationContext