Class QlCustomRefactoringUpdateAcceptor
- java.lang.Object
-
- com._1c.g5.ides.ui.refactoring.xtext.CustomRefactoringUpdateAcceptor
-
- com._1c.g5.v8.dt.ql.ui.refactoring.QlCustomRefactoringUpdateAcceptor
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.refactoring.IRefactoringUpdateAcceptor
public class QlCustomRefactoringUpdateAcceptor extends CustomRefactoringUpdateAcceptor
SpecialCustomRefactoringUpdateAcceptor
for Ql language family
-
-
Field Summary
-
Fields inherited from class com._1c.g5.ides.ui.refactoring.xtext.CustomRefactoringUpdateAcceptor
document2change, document2textEdits, uri2document
-
-
Constructor Summary
Constructors Constructor Description QlCustomRefactoringUpdateAcceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.ltk.core.refactoring.Change
createChange(org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument document, org.eclipse.text.edits.TextEdit edit)
org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
getDocument(org.eclipse.emf.common.util.URI resourceURI)
void
setFile(org.eclipse.core.resources.IFile file)
SetsIFile
for creatingIRefactoringDocument
.-
Methods inherited from class com._1c.g5.ides.ui.refactoring.xtext.CustomRefactoringUpdateAcceptor
accept, accept, createCompositeChange, getAllChanges, getRefactoringStatus
-
-
-
-
Method Detail
-
createChange
protected org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument document, org.eclipse.text.edits.TextEdit edit)
- Overrides:
createChange
in classCustomRefactoringUpdateAcceptor
-
getDocument
public org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument getDocument(org.eclipse.emf.common.util.URI resourceURI)
- Specified by:
getDocument
in interfaceorg.eclipse.xtext.ui.refactoring.IRefactoringUpdateAcceptor
- Overrides:
getDocument
in classCustomRefactoringUpdateAcceptor
-
setFile
public void setFile(org.eclipse.core.resources.IFile file)
SetsIFile
for creatingIRefactoringDocument
.
UsuallyIFile
is got fromURI
ingetDocument(URI)
, but in case ofEmbeddedEditor
there is no file corresponding toURI
.
Therefore we need setIFile
which was got earlier.- Parameters:
file
- actualIFile
for refactoring changes, can't benull
-
-