public static class DefaultRefactoringDocumentProvider.EditorDocument extends DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
IRefactoringDocument.Provider
Constructor and Description |
---|
DefaultRefactoringDocumentProvider.EditorDocument(org.eclipse.emf.common.util.URI resourceURI,
org.eclipse.ui.texteditor.ITextEditor editor,
org.eclipse.jface.text.IDocument document,
boolean doSave) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.ltk.core.refactoring.Change |
createChange(java.lang.String name,
org.eclipse.text.edits.TextEdit textEdit) |
org.eclipse.jface.text.IDocument |
getDocument() |
org.eclipse.ui.texteditor.ITextEditor |
getEditor() |
protected java.lang.String |
getName() |
java.lang.String |
getOriginalContents() |
boolean |
isDoSave() |
equals, getURI, hashCode
public DefaultRefactoringDocumentProvider.EditorDocument(org.eclipse.emf.common.util.URI resourceURI, org.eclipse.ui.texteditor.ITextEditor editor, org.eclipse.jface.text.IDocument document, boolean doSave)
public org.eclipse.ui.texteditor.ITextEditor getEditor()
public org.eclipse.jface.text.IDocument getDocument()
public boolean isDoSave()
public org.eclipse.ltk.core.refactoring.Change createChange(java.lang.String name, org.eclipse.text.edits.TextEdit textEdit)
createChange
in interface IRefactoringDocument
createChange
in class DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
protected java.lang.String getName()
public java.lang.String getOriginalContents()