Class UpdateProfileElementsCommand
- java.lang.Object
-
- org.eclipse.emf.common.command.AbstractCommand
-
- org.eclipse.emf.edit.command.ChangeCommand
-
- org.palladiosimulator.mdsdprofiles.ui.commands.UpdateProfileElementsCommand
-
- All Implemented Interfaces:
Command
public class UpdateProfileElementsCommand extends ChangeCommand
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateProfileElementsCommand
create(Resource profileApplicationStore, EList<org.modelversioning.emfprofile.Profile> updatedProfileElements)
protected void
doExecute()
String
getDescription()
String
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, getAffectedObjects, getResult, setDescription, setLabel, toString
-
-
-
-
Method Detail
-
create
public static UpdateProfileElementsCommand create(Resource profileApplicationStore, EList<org.modelversioning.emfprofile.Profile> updatedProfileElements)
-
doExecute
protected void doExecute()
- Specified by:
doExecute
in classChangeCommand
-
getLabel
public String getLabel()
- Specified by:
getLabel
in interfaceCommand
- Overrides:
getLabel
in classAbstractCommand
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceCommand
- Overrides:
getDescription
in classAbstractCommand
-
-