Class HtmlDocumentMdReferenceRenameRefactoringContributor
- java.lang.Object
-
- com._1c.g5.v8.dt.htmldocument.refactoring.HtmlDocumentMdReferenceRenameRefactoringContributor
-
- All Implemented Interfaces:
IRenameRefactoringContributor
public final class HtmlDocumentMdReferenceRenameRefactoringContributor extends Object implements IRenameRefactoringContributor
IRenameRefactoringContributor
that cheanges text reference to metadata object on html pages.
-
-
Constructor Summary
Constructors Constructor Description HtmlDocumentMdReferenceRenameRefactoringContributor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<org.eclipse.ltk.core.refactoring.Change>
createNativePostChanges(org.eclipse.emf.ecore.EObject object, String newName, RefactoringSettings settings, RefactoringStatus status)
Creates LTK changes that is executed after the EDT refactoring operations are performed.Collection<org.eclipse.ltk.core.refactoring.Change>
createNativePreChanges(org.eclipse.emf.ecore.EObject object, String newName, RefactoringSettings settings, RefactoringStatus status)
Creates LTK changes that is executed before the EDT refactoring operations are performed.RefactoringOperationDescriptor
createParticipatingOperation(org.eclipse.emf.ecore.EObject object, RefactoringSettings settings, RefactoringStatus status)
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
that performs custom logic for object being renamed.RefactoringOperationDescriptor
createPreReferenceUpdateParticipatingOperation(IBmObject object, RefactoringSettings settings, RefactoringStatus status)
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
that performs custom logic for object being renamed before the BmObject references processing.
-
-
-
Method Detail
-
createParticipatingOperation
public RefactoringOperationDescriptor createParticipatingOperation(org.eclipse.emf.ecore.EObject object, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IRenameRefactoringContributor
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
that performs custom logic for object being renamed.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createParticipatingOperation
in interfaceIRenameRefactoringContributor
- Parameters:
object
- the object being renamed, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- refactoring operation descriptor or
null
.
-
createNativePreChanges
public Collection<org.eclipse.ltk.core.refactoring.Change> createNativePreChanges(org.eclipse.emf.ecore.EObject object, String newName, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IRenameRefactoringContributor
Creates LTK changes that is executed before the EDT refactoring operations are performed.
If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createNativePreChanges
in interfaceIRenameRefactoringContributor
- Parameters:
object
- the object being renamed, cannot benull
.newName
- the new name of the object, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- a collection of LTK changes or
null
.
-
createNativePostChanges
public Collection<org.eclipse.ltk.core.refactoring.Change> createNativePostChanges(org.eclipse.emf.ecore.EObject object, String newName, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IRenameRefactoringContributor
Creates LTK changes that is executed after the EDT refactoring operations are performed.
If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createNativePostChanges
in interfaceIRenameRefactoringContributor
- Parameters:
object
- the object being renamed, cannot benull
.newName
- the new name of the object, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- a collection of LTK changes or
null
.
-
createPreReferenceUpdateParticipatingOperation
public RefactoringOperationDescriptor createPreReferenceUpdateParticipatingOperation(IBmObject object, RefactoringSettings settings, RefactoringStatus status)
Description copied from interface:IRenameRefactoringContributor
The method that is invoked during preparation phase of refactoring.
ReturnsRefactoringOperationDescriptor
that performs custom logic for object being renamed before the BmObject references processing.If some conditions are not satisfied the refactoring
status
should be filled with the appropriate error or warning message.- Specified by:
createPreReferenceUpdateParticipatingOperation
in interfaceIRenameRefactoringContributor
- Parameters:
object
- the object being renamed, cannot benull
.settings
- the refactoring settings, cannot benull
.status
- the refactoring status, cannot benull
.- Returns:
- refactoring operation descriptor or
null
.
-
-