Class CustomSourceFileDocument
- java.lang.Object
-
- org.eclipse.xtext.ui.refactoring.impl.DefaultRefactoringDocumentProvider.AbstractRefactoringDocument
-
- com._1c.g5.ides.ui.refactoring.xtext.CustomRefactoringDocumentProvider.SourceFileDocument
-
- com._1c.g5.v8.dt.lcore.ui.refactoring.CustomSourceFileDocument
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
public class CustomSourceFileDocument extends CustomRefactoringDocumentProvider.SourceFileDocument
CustomRefactoringDocumentProvider.SourceFileDocument
which createsCompositeChange
for source file with childrenSourceFileChange
changes
-
-
Constructor Summary
Constructors Constructor Description CustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle)
ConstructorCustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle, boolean isFullTextSeatchChanges)
ConstructorCustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle, boolean isFullTextSeatchChanges, boolean changeForbidden)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.ltk.core.refactoring.Change
createChange(String name, org.eclipse.text.edits.TextEdit textEdit)
-
Methods inherited from class com._1c.g5.ides.ui.refactoring.xtext.CustomRefactoringDocumentProvider.SourceFileDocument
getOriginalContents
-
-
-
-
Constructor Detail
-
CustomSourceFileDocument
public CustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle)
Constructor- Parameters:
uri
-URI
of the file with changes, can't benull
sourceFile
- actualISourceFile
, can't benull
fileChangeTitle
- title of changes, can't benull
-
CustomSourceFileDocument
public CustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle, boolean isFullTextSeatchChanges)
Constructor- Parameters:
uri
-URI
of the file with changes, can't benull
sourceFile
- actualISourceFile
, can't benull
fileChangeTitle
- title of changes, can't benull
isFullTextSeatchChanges
-true
if source file document creating for refactoring by full text search,false
otherwise
-
CustomSourceFileDocument
public CustomSourceFileDocument(org.eclipse.emf.common.util.URI uri, org.eclipse.handly.model.ISourceFile sourceFile, String fileChangeTitle, boolean isFullTextSeatchChanges, boolean changeForbidden)
Constructor- Parameters:
uri
-URI
of the file with changes, can't benull
sourceFile
- actualISourceFile
, can't benull
fileChangeTitle
- title of changes, can't benull
isFullTextSeatchChanges
-true
if source file document creating for refactoring by full text search,false
otherwisechangeForbidden
-true
if changing the source file document is forbidden,false
otherwise.
-
-
Method Detail
-
createChange
public org.eclipse.ltk.core.refactoring.Change createChange(String name, org.eclipse.text.edits.TextEdit textEdit)
- Specified by:
createChange
in interfaceorg.eclipse.xtext.ui.refactoring.impl.IRefactoringDocument
- Overrides:
createChange
in classCustomRefactoringDocumentProvider.SourceFileDocument
-
-