Class FormElementHandlerRenameParticipant
java.lang.Object
com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant
com._1c.g5.v8.dt.internal.form.ui.refactoring.FormElementHandlerRenameParticipant
- All Implemented Interfaces:
IBslMdObjectHandlerRenameParticipant
public class FormElementHandlerRenameParticipant
extends AbstractBslMdObjectHandlerRenameParticipant
Special implementation of
AbstractBslMdObjectHandlerRenameParticipant for Form handlers-
Nested Class Summary
Nested classes/interfaces inherited from class com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant
AbstractBslMdObjectHandlerRenameParticipant.MdObjectHandlerNameChange, AbstractBslMdObjectHandlerRenameParticipant.RenameHandlerTask<T extends org.eclipse.emf.ecore.EObject> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.ltk.core.refactoring.ChangecreateChange(org.eclipse.emf.common.util.URI resourceUri, Module module, Method method, String newName, org.eclipse.core.runtime.IProgressMonitor pm) Creates aChangeobject that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.Gets description of the participantMethods inherited from class com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant
createChange
-
Constructor Details
-
FormElementHandlerRenameParticipant
public FormElementHandlerRenameParticipant()
-
-
Method Details
-
getDescription
Description copied from interface:IBslMdObjectHandlerRenameParticipantGets description of the participant- Returns:
- description of the participant, can't be
null
-
createChange
public org.eclipse.ltk.core.refactoring.Change createChange(org.eclipse.emf.common.util.URI resourceUri, Module module, Method method, String newName, org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException Description copied from interface:IBslMdObjectHandlerRenameParticipantCreates aChangeobject that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed. Note that this implies that the undo change of the returned Change object will be executed before the undo changes from the refactoring have been executed. Change created by this method contains information about changing the name of the handler referencing to Bsl method in metadata objects- Parameters:
resourceUri-URIto the Bsl resource of target refactoring object, can't benullmodule- actualModulecorresponding to the target refactoring object, can't benullmethod- actual renamingMethod, can't benullnewName- new name of the Bsl method, can't benullpm- actualIProgressMonitor, can't benull- Returns:
- created change, can be
nullif there is no changing in metadata object handlers - Throws:
org.eclipse.core.runtime.CoreException- if error was occurred in refactoringorg.eclipse.core.runtime.OperationCanceledException- if operation was canceled
-