org.eclipse.emf.edit.command
Class CopyCommand.Helper
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.eclipse.emf.edit.command.CopyCommand.Helper
- All Implemented Interfaces:
- Cloneable, Map, Serializable
- Enclosing class:
- CopyCommand
- public static class CopyCommand.Helper
- extends HashMap
This helper class is used to keep track of copied objects and their associated copies.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, size, values |
initializationList
protected ArrayList initializationList
deferredInitializationCount
protected int deferredInitializationCount
CopyCommand.Helper
public CopyCommand.Helper()
getCopy
public EObject getCopy(EObject object)
- Return the copy of the specified object if it has one.
getCopyTarget
public EObject getCopyTarget(EObject target,
boolean copyRequired)
- Return the copy of the specified object or the object itself if it has no copy.
put
public Object put(Object key,
Object value)
remove
public Object remove(Object key)
initializationIterator
public Iterator initializationIterator()
incrementDeferredInitializationCount
public void incrementDeferredInitializationCount()
decrementDeferredInitializationCount
public int decrementDeferredInitializationCount()