org.jupe.synchronisation.umlchanges
Class UML2ElementStack

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector<E>
              extended by java.util.Stack
                  extended by org.jupe.synchronisation.umlchanges.UML2ElementStack
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class UML2ElementStack
extends java.util.Stack

Helper class to deal with the notification behaviour of UML2. This class temporarily stores UML2 elements that are pushed by RemoveAdapter and popped later by a subclass of AbstractContainerHandler.

This class is a singleton.

Author:
Michael Pradel
See Also:
Serialized Form

Method Summary
static java.util.Stack<org.eclipse.uml2.uml.Element> getInstance()
          Get the instance of the stack.
 
Methods inherited from class java.util.Stack
empty, peek, pop, push, search
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Method Detail

getInstance

public static java.util.Stack<org.eclipse.uml2.uml.Element> getInstance()
Get the instance of the stack.

Returns: