Class AbstractIdentifierRandomizerCommandHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
de.uka.ipd.sdq.identifier.uiutils.AbstractIdentifierRandomizerCommandHandler
- Direct Known Subclasses:
IdentifierRandomizerForSingleElementCommandHandler
,IdentifierRandomizerForSubtreeCommandHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(ExecutionEvent event) protected void
executeInTransaction
(EditingDomain editingDomain, Runnable runnable) protected void
randomizeID
(EObject eobject) protected abstract void
randomizeIDsForSelectedEObjects
(Collection<EObject> selectedEObjects) protected void
randomizeIDsForSelectionGroup
(EditingDomain editingDomain, Collection<EObject> selectedEObjects) Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
AbstractIdentifierRandomizerCommandHandler
public AbstractIdentifierRandomizerCommandHandler()
-
-
Method Details
-
execute
- Throws:
ExecutionException
-
randomizeIDsForSelectionGroup
protected void randomizeIDsForSelectionGroup(EditingDomain editingDomain, Collection<EObject> selectedEObjects) -
randomizeIDsForSelectedEObjects
-
getSelectedEObjects
-
executeInTransaction
-
randomizeID
-