Class CustomRefactoringDocumentProvider.SourceFileDocument

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
    Enclosing class:
    CustomRefactoringDocumentProvider

    public static class CustomRefactoringDocumentProvider.SourceFileDocument
    extends org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
    AbstractRefactoringDocument which creates SourceFileChange changes
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument

        org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument.Provider
    • Constructor Summary

      Constructors 
      Constructor Description
      SourceFileDocument​(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile)  
    • Constructor Detail

      • SourceFileDocument

        public SourceFileDocument​(org.eclipse.emf.common.util.URI uri,
                                  org.eclipse.handly.model.ISourceFile sourceFile)
    • Method Detail

      • getOriginalContents

        public String getOriginalContents()
      • createChange

        public org.eclipse.ltk.core.refactoring.Change createChange​(String name,
                                                                    org.eclipse.text.edits.TextEdit textEdit)
        Specified by:
        createChange in interface org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
        Specified by:
        createChange in class org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.AbstractRefactoringDocument