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 Type
    Method
    Description
    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)
    Creates a Change object 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 a Change object 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 - URI to the Bsl resource of target refactoring object, can't be null
      module - actual Module corresponding to the target refactoring object, can't be null
      method - actual renaming Method, can't be null
      newName - new name of the Bsl method, can't be null
      pm - actual IProgressMonitor, can't be null
      Returns:
      created change, can be null if there is no changing in metadata object handlers
      Throws:
      org.eclipse.core.runtime.CoreException - if error was occurred in refactoring
      org.eclipse.core.runtime.OperationCanceledException - if operation was canceled