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
public abstract class AbstractIdentifierRandomizerCommandHandler extends AbstractHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractIdentifierRandomizerCommandHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
execute(ExecutionEvent event)
protected void
executeInTransaction(EditingDomain editingDomain, Runnable runnable)
protected List<EObject>
getSelectedEObjects(ExecutionEvent event)
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
-
-
-
-
Method Detail
-
execute
public Object execute(ExecutionEvent event) throws ExecutionException
- Throws:
ExecutionException
-
randomizeIDsForSelectionGroup
protected void randomizeIDsForSelectionGroup(EditingDomain editingDomain, Collection<EObject> selectedEObjects)
-
randomizeIDsForSelectedEObjects
protected abstract void randomizeIDsForSelectedEObjects(Collection<EObject> selectedEObjects)
-
getSelectedEObjects
protected List<EObject> getSelectedEObjects(ExecutionEvent event)
-
executeInTransaction
protected void executeInTransaction(EditingDomain editingDomain, Runnable runnable)
-
randomizeID
protected void randomizeID(EObject eobject)
-
-