org.argouml.util
Class Trash
java.lang.Object
|
+--org.argouml.util.Trash
- public class Trash
- extends java.lang.Object
In the furture this will be a trash can icon in the project
browser. Deleting an object moves it to the trash. You can move
things back out of the trash if you like. Eventually you empty the
trash. Critics check for relationships between things that will
break when the trash is empty. E.g., Class X's superclass is in
the trash, you must fix this before you empty the trash.
Field Summary |
java.util.Vector |
_contents
Keys are model objects, values are TrashItems with recovery info |
protected static org.apache.log4j.Category |
cat
|
static Trash |
SINGLETON
|
ru.novosoft.uml.model_management.MModel |
Trash_Model
|
Constructor Summary |
protected |
Trash()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected static org.apache.log4j.Category cat
SINGLETON
public static Trash SINGLETON
_contents
public java.util.Vector _contents
- Keys are model objects, values are TrashItems with recovery info
Trash_Model
public ru.novosoft.uml.model_management.MModel Trash_Model
Trash
protected Trash()
addItemFrom
public void addItemFrom(java.lang.Object obj,
java.util.Vector places)
contains
public boolean contains(java.lang.Object obj)
recoverItem
public void recoverItem(java.lang.Object obj)
removeItem
public void removeItem(java.lang.Object obj)
emptyTrash
public void emptyTrash()
getSize
public int getSize()