public class AddReferenceValuesCommand extends Object implements org.eclipse.emf.common.command.Command
| Modifier and Type | Field and Description |
|---|---|
protected Collection<?> |
newValues |
protected org.eclipse.emf.ecore.EObject |
object |
protected org.eclipse.emf.ecore.EReference |
reference |
| Constructor and Description |
|---|
AddReferenceValuesCommand(org.eclipse.emf.ecore.EObject object,
Collection<?> newValues,
org.eclipse.emf.ecore.EReference reference) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo() |
org.eclipse.emf.common.command.Command |
chain(org.eclipse.emf.common.command.Command arg0) |
void |
dispose() |
void |
execute() |
Collection<org.eclipse.emf.ecore.EObject> |
getAffectedObjects() |
String |
getDescription() |
String |
getLabel() |
Collection<?> |
getResult() |
void |
redo() |
void |
undo() |
protected org.eclipse.emf.ecore.EReference reference
protected org.eclipse.emf.ecore.EObject object
protected Collection<?> newValues
public AddReferenceValuesCommand(org.eclipse.emf.ecore.EObject object,
Collection<?> newValues,
org.eclipse.emf.ecore.EReference reference)
public boolean canExecute()
canExecute in interface org.eclipse.emf.common.command.Commandpublic boolean canUndo()
canUndo in interface org.eclipse.emf.common.command.Commandpublic org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command arg0)
chain in interface org.eclipse.emf.common.command.Commandpublic void dispose()
dispose in interface org.eclipse.emf.common.command.Commandpublic void execute()
execute in interface org.eclipse.emf.common.command.Commandpublic Collection<org.eclipse.emf.ecore.EObject> getAffectedObjects()
getAffectedObjects in interface org.eclipse.emf.common.command.Commandpublic String getDescription()
getDescription in interface org.eclipse.emf.common.command.Commandpublic String getLabel()
getLabel in interface org.eclipse.emf.common.command.Commandpublic Collection<?> getResult()
getResult in interface org.eclipse.emf.common.command.Commandpublic void redo()
redo in interface org.eclipse.emf.common.command.Commandpublic void undo()
undo in interface org.eclipse.emf.common.command.CommandCopyright © 2016. All rights reserved.