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 java.lang.Object implements org.eclipse.emf.common.command.Command
-
-
Constructor Summary
Constructors Constructor Description AddReferenceValuesCommand(org.eclipse.emf.ecore.EObject object, java.util.Collection<?> newValues, org.eclipse.emf.ecore.EReference reference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecute()
boolean
canUndo()
org.eclipse.emf.common.command.Command
chain(org.eclipse.emf.common.command.Command arg0)
void
dispose()
void
execute()
java.util.Collection<org.eclipse.emf.ecore.EObject>
getAffectedObjects()
java.lang.String
getDescription()
java.lang.String
getLabel()
java.util.Collection<?>
getResult()
void
redo()
void
undo()
-
-
-
Method Detail
-
canExecute
public boolean canExecute()
- Specified by:
canExecute
in interfaceorg.eclipse.emf.common.command.Command
-
canUndo
public boolean canUndo()
- Specified by:
canUndo
in interfaceorg.eclipse.emf.common.command.Command
-
chain
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command arg0)
- Specified by:
chain
in interfaceorg.eclipse.emf.common.command.Command
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.emf.common.command.Command
-
execute
public void execute()
- Specified by:
execute
in interfaceorg.eclipse.emf.common.command.Command
-
getAffectedObjects
public java.util.Collection<org.eclipse.emf.ecore.EObject> getAffectedObjects()
- Specified by:
getAffectedObjects
in interfaceorg.eclipse.emf.common.command.Command
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceorg.eclipse.emf.common.command.Command
-
getLabel
public java.lang.String getLabel()
- Specified by:
getLabel
in interfaceorg.eclipse.emf.common.command.Command
-
getResult
public java.util.Collection<?> getResult()
- Specified by:
getResult
in interfaceorg.eclipse.emf.common.command.Command
-
redo
public void redo()
- Specified by:
redo
in interfaceorg.eclipse.emf.common.command.Command
-
undo
public void undo()
- Specified by:
undo
in interfaceorg.eclipse.emf.common.command.Command
-
-