Class UpdateStereotypeElementsCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.ChangeCommand
org.palladiosimulator.mdsdprofiles.ui.commands.UpdateStereotypeElementsCommand
- All Implemented Interfaces:
Command
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
AbstractCommand.NonDirtying
-
Field Summary
Fields inherited from class org.eclipse.emf.edit.command.ChangeCommand
changeDescription, changeRecorder, notifier, notifiers
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(EObject stereotypableElement, EList<org.modelversioning.emfprofile.Stereotype> updatedStereotypableElements) protected void
Collection<?>
getLabel()
Methods inherited from class org.eclipse.emf.edit.command.ChangeCommand
createChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undo
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, canUndo, chain, getResult, setDescription, setLabel, toString
-
Method Details
-
create
public static UpdateStereotypeElementsCommand create(EObject stereotypableElement, EList<org.modelversioning.emfprofile.Stereotype> updatedStereotypableElements) -
doExecute
protected void doExecute()- Specified by:
doExecute
in classChangeCommand
-
getLabel
- Specified by:
getLabel
in interfaceCommand
- Overrides:
getLabel
in classAbstractCommand
-
getDescription
- Specified by:
getDescription
in interfaceCommand
- Overrides:
getDescription
in classAbstractCommand
-
getAffectedObjects
- Specified by:
getAffectedObjects
in interfaceCommand
- Overrides:
getAffectedObjects
in classAbstractCommand
-