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:
java.lang.Cloneable, java.util.Map, java.io.Serializable
Enclosing class:
CopyCommand

public static class CopyCommand.Helper
extends java.util.HashMap

This helper class is used to keep track of copied objects and their associated copies.

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Field Summary
protected  java.util.ArrayList initializationList
           
 
Constructor Summary
CopyCommand.Helper()
           
 
Method Summary
 EObject getCopy(EObject object)
          Return the copy of the specified object if it has one.
 EObject getCopyTarget(EObject target, boolean copyRequired)
          Return the copy of the specified object or the object itself if it has no copy.
 java.util.Iterator initializationIterator()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

initializationList

protected java.util.ArrayList initializationList
Constructor Detail

CopyCommand.Helper

public CopyCommand.Helper()
Method Detail

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 java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Overrides:
put in class java.util.HashMap

remove

public java.lang.Object remove(java.lang.Object key)
Overrides:
remove in class java.util.HashMap

initializationIterator

public java.util.Iterator initializationIterator()

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.