Package org.eclipse.epsilon.dt.exeed
Class AddReferenceValuesCommand
java.lang.Object
org.eclipse.epsilon.dt.exeed.AddReferenceValuesCommand
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command
public class AddReferenceValuesCommand
extends Object
implements org.eclipse.emf.common.command.Command
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Collection<?>protected org.eclipse.emf.ecore.EObjectprotected org.eclipse.emf.ecore.EReference -
Constructor Summary
ConstructorsConstructorDescriptionAddReferenceValuesCommand(org.eclipse.emf.ecore.EObject object, Collection<?> newValues, org.eclipse.emf.ecore.EReference reference) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanUndo()org.eclipse.emf.common.command.Commandchain(org.eclipse.emf.common.command.Command arg0) voiddispose()voidexecute()Collection<org.eclipse.emf.ecore.EObject>getLabel()Collection<?>voidredo()voidundo()
-
Field Details
-
reference
protected org.eclipse.emf.ecore.EReference reference -
object
protected org.eclipse.emf.ecore.EObject object -
newValues
-
-
Constructor Details
-
AddReferenceValuesCommand
public AddReferenceValuesCommand(org.eclipse.emf.ecore.EObject object, Collection<?> newValues, org.eclipse.emf.ecore.EReference reference)
-
-
Method Details
-
canExecute
public boolean canExecute()- Specified by:
canExecutein interfaceorg.eclipse.emf.common.command.Command
-
canUndo
public boolean canUndo()- Specified by:
canUndoin interfaceorg.eclipse.emf.common.command.Command
-
chain
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command arg0) - Specified by:
chainin interfaceorg.eclipse.emf.common.command.Command
-
dispose
public void dispose()- Specified by:
disposein interfaceorg.eclipse.emf.common.command.Command
-
execute
public void execute()- Specified by:
executein interfaceorg.eclipse.emf.common.command.Command
-
getAffectedObjects
- Specified by:
getAffectedObjectsin interfaceorg.eclipse.emf.common.command.Command
-
getDescription
- Specified by:
getDescriptionin interfaceorg.eclipse.emf.common.command.Command
-
getLabel
- Specified by:
getLabelin interfaceorg.eclipse.emf.common.command.Command
-
getResult
- Specified by:
getResultin interfaceorg.eclipse.emf.common.command.Command
-
redo
public void redo()- Specified by:
redoin interfaceorg.eclipse.emf.common.command.Command
-
undo
public void undo()- Specified by:
undoin interfaceorg.eclipse.emf.common.command.Command
-