Class BslMdObjectHandlerRenameParticipantServiceProvider
java.lang.Object
com._1c.g5.v8.dt.bsl.bm.ui.refactoring.BslMdObjectHandlerRenameParticipantServiceProvider
Special service for accumulating all
IBslMdObjectHandlerRenameParticipant.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.ltk.core.refactoring.Change>createChanges(org.eclipse.emf.common.util.URI resourceUri, Module module, Method method, String newName, org.eclipse.core.runtime.IProgressMonitor monitor) Creates aChangeobject that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.protected List<IBslMdObjectHandlerRenameParticipant>Gets all registered participants
-
Constructor Details
-
BslMdObjectHandlerRenameParticipantServiceProvider
public BslMdObjectHandlerRenameParticipantServiceProvider()
-
-
Method Details
-
createChanges
public List<org.eclipse.ltk.core.refactoring.Change> createChanges(org.eclipse.emf.common.util.URI resourceUri, Module module, Method method, String newName, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.OperationCanceledException, org.eclipse.core.runtime.CoreException Creates 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
-
getAllParticipants
Gets all registered participants- Returns:
- all registered
IBslMdObjectHandlerRenameParticipantparticipants, nevernull
-