Interface IBslMdObjectHandlerRenameParticipant
- All Known Implementing Classes:
AbstractBslMdObjectHandlerRenameParticipant,EventSubscriptionHandlerRenameParticipant,FormElementHandlerRenameParticipant,GraphicalSchemeItemHandlerRenameParticipant,HttpServiceHandlerRenameParticipant,IntegrationServiceHandlerRenameParticipant,ScheduleJobHandlerRenameParticipant,WebServiceHandlerRenameParticipant
public interface IBslMdObjectHandlerRenameParticipant
Special rename refactoring participant for handler referencing to Bsl method in metadata objects
-
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 participant
-
Method Details
-
getDescription
String getDescription()Gets description of the participant- Returns:
- description of the participant, can't be
null
-
createChange
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 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
-