org.eclipse.xtext.ui.refactoring.impl
Class DefaultRefactoringDocumentProvider.FileDocument

java.lang.Object
  extended by org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
      extended by org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.FileDocument
All Implemented Interfaces:
IRefactoringDocument
Enclosing class:
DefaultRefactoringDocumentProvider

public static class DefaultRefactoringDocumentProvider.FileDocument
extends DefaultRefactoringDocumentProvider.AbstractRefactoringDocument


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
IRefactoringDocument.Provider
 
Constructor Summary
DefaultRefactoringDocumentProvider.FileDocument(org.eclipse.emf.common.util.URI resourceURI, org.eclipse.core.resources.IFile file, IEncodingProvider encodingProvider)
           
 
Method Summary
 org.eclipse.ltk.core.refactoring.Change createChange(java.lang.String name, org.eclipse.text.edits.TextEdit textEdit)
           
 org.eclipse.core.resources.IFile getFile()
           
 java.lang.String getOriginalContents()
           
 
Methods inherited from class org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
equals, getURI, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRefactoringDocumentProvider.FileDocument

public DefaultRefactoringDocumentProvider.FileDocument(org.eclipse.emf.common.util.URI resourceURI,
                                                       org.eclipse.core.resources.IFile file,
                                                       IEncodingProvider encodingProvider)
Method Detail

getFile

public org.eclipse.core.resources.IFile getFile()

createChange

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

getOriginalContents

public java.lang.String getOriginalContents()