Class TextDocumentDeleteRefactoringContributor
- java.lang.Object
-
- com._1c.g5.v8.dt.textdocument.refactoring.TextDocumentDeleteRefactoringContributor
-
- All Implemented Interfaces:
IDeleteRefactoringContributor
public final class TextDocumentDeleteRefactoringContributor extends Object implements IDeleteRefactoringContributor
TheIDeleteRefactoringContributor
implementation for Text document deletion.
-
-
Constructor Summary
Constructors Constructor Description TextDocumentDeleteRefactoringContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RefactoringOperationDescriptor
createCleanReferenceOperation(IBmObject targetObject, IBmObject referencingObject, org.eclipse.emf.ecore.EStructuralFeature feature, RefactoringSettings settings, RefactoringStatus status)
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
with the refactoring operation that cleans reference of thetargetObject
.RefactoringOperationDescriptor
createParticipatingOperation(org.eclipse.emf.ecore.EObject object, RefactoringSettings settings, RefactoringStatus status)
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
with the refactoring operation that performs custom logic forobject
being deleted.
-
-
-
Method Detail
-
createParticipatingOperation
public RefactoringOperationDescriptor createParticipatingOperation(org.eclipse.emf.ecore.EObject object, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IDeleteRefactoringContributor
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
with the refactoring operation that performs custom logic forobject
being deleted.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createParticipatingOperation
in interfaceIDeleteRefactoringContributor
- Parameters:
object
- the object being deleted, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- refactoring operation descriptor or
null
.
-
createCleanReferenceOperation
public RefactoringOperationDescriptor createCleanReferenceOperation(IBmObject targetObject, IBmObject referencingObject, org.eclipse.emf.ecore.EStructuralFeature feature, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IDeleteRefactoringContributor
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
with the refactoring operation that cleans reference of thetargetObject
.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createCleanReferenceOperation
in interfaceIDeleteRefactoringContributor
- Parameters:
targetObject
- the object being deleted, cannot benull
.referencingObject
- the referencing object, cannot benull
.feature
- the reference to clean, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- refactoring operation descriptor or
null
.
-
-