Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.edit.command
Class CopyCommand.Helper

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended byorg.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


Field Summary
protected  int deferredInitializationCount
           
protected  ArrayList initializationList
           
 
Constructor Summary
CopyCommand.Helper()
           
 
Method Summary
 int decrementDeferredInitializationCount()
           
 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.
 void incrementDeferredInitializationCount()
           
 Iterator initializationIterator()
           
 Object put(Object key, Object value)
           
 Object remove(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 ArrayList initializationList


 

 

deferredInitializationCount

protected int deferredInitializationCount

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 Object put(Object key,
                  Object value)


 

 

remove

public Object remove(Object key)


 

 

initializationIterator

public Iterator initializationIterator()


 

 

incrementDeferredInitializationCount

public void incrementDeferredInitializationCount()


 

 

decrementDeferredInitializationCount

public int decrementDeferredInitializationCount()


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD