Class GraphicalSchemeItemHandlerRenameParticipant
- java.lang.Object
-
- com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant
-
- com._1c.g5.v8.dt.bp.scheme.ui.refactoring.GraphicalSchemeItemHandlerRenameParticipant
-
- All Implemented Interfaces:
IBslMdObjectHandlerRenameParticipant
public class GraphicalSchemeItemHandlerRenameParticipant extends AbstractBslMdObjectHandlerRenameParticipant
Imlementation ofAbstractBslMdObjectHandlerRenameParticipant
forGraphicalSchemeItem
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 Constructor Description GraphicalSchemeItemHandlerRenameParticipant()
-
Method Summary
All Methods Instance Methods Concrete Methods 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 aChange
object that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.String
getDescription()
Gets description of the participant-
Methods inherited from class com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant
createChange
-
-
-
-
Method Detail
-
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:IBslMdObjectHandlerRenameParticipant
Creates aChange
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 benull
module
- actualModule
corresponding to the target refactoring object, can't benull
method
- actual renamingMethod
, can't benull
newName
- new name of the Bsl method, can't benull
pm
- actualIProgressMonitor
, can't benull
- 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 refactoringorg.eclipse.core.runtime.OperationCanceledException
- if operation was canceled
-
getDescription
public String getDescription()
Description copied from interface:IBslMdObjectHandlerRenameParticipant
Gets description of the participant- Returns:
- description of the participant, can't be
null
-
-