Interface IDeleteRefactoringContributor
-
- All Known Implementing Classes:
HtmlDocumentDeleteRefactoringContributor
,TextDocumentDeleteRefactoringContributor
,XdtoPackageDeleteRefactoringContributor
public interface IDeleteRefactoringContributor
Clients implement this interface in order to provide custom processing logic responsible for updating objects implicitly connected with the object being deleted.
-
-
Method Summary
All Methods Instance Methods Abstract 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
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.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- 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
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
.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- 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
.
-
-