Package com._1c.g5.v8.dt.common.cmd
Class PutCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.AbstractOverrideableCommand
com._1c.g5.v8.dt.common.cmd.PutCommand
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command,org.eclipse.emf.edit.command.OverrideableCommand
public class PutCommand
extends org.eclipse.emf.edit.command.AbstractOverrideableCommand
Map put command
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying -
Field Summary
Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
domain, overrideCommandFields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPutCommand(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Iterable<Map.Entry> entries) -
Method Summary
Modifier and TypeMethodDescriptionstatic PutCommandcreate(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Iterable<Map.Entry> entries) voidCollection<?>Returns a collection from the only element -owner.voiddoRedo()voiddoUndo()protected booleanprepare()Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
canExecute, canUndo, dispose, doCanExecute, doCanUndo, doDispose, doGetChildrenToCopy, doGetDescription, doGetLabel, doGetResult, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, toString, undo, updateEMapMethods inherited from class org.eclipse.emf.common.command.AbstractCommand
chain, setDescription, setLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.command.Command
chain
-
Constructor Details
-
PutCommand
-
-
Method Details
-
doExecute
public void doExecute()- Specified by:
doExecutein interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doExecutein classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
prepare
protected boolean prepare()- Overrides:
preparein classorg.eclipse.emf.common.command.AbstractCommand
-
doUndo
public void doUndo()- Specified by:
doUndoin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doUndoin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doRedo
public void doRedo()- Specified by:
doRedoin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doRedoin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doGetAffectedObjects
Returns a collection from the only element -owner.- Specified by:
doGetAffectedObjectsin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Overrides:
doGetAffectedObjectsin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand- Returns:
- the collection of things which this command wishes to present as the objects affected by the command.
- See Also:
-
getAffectedObjects()
-
create
public static PutCommand create(org.eclipse.emf.edit.domain.EditingDomain domain, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, Iterable<Map.Entry> entries)
-