|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.ui.explorer.ExplorerEventAdaptor
All events going to the Explorer must pass through here first!
Most will come from the uml model via ExplorerNSUMLEventAdaptor
Field Summary | |
private static ExplorerEventAdaptor |
instance
|
private TreeModelUMLEventListener |
treeModel
the tree model to update |
Constructor Summary | |
private |
ExplorerEventAdaptor()
Creates a new instance of ExplorerUMLEventAdaptor |
Method Summary | |
static ExplorerEventAdaptor |
getInstance()
|
void |
modelElementAdded(java.lang.Object source)
forwards this event to the tree model. |
void |
modelElementChanged(java.lang.Object source)
forwards this event to the tree model. |
void |
modelElementRemoved(java.lang.Object source)
forwards this event to the tree model. |
void |
propertyChange(java.beans.PropertyChangeEvent pce)
Listens to events coming from the project manager, config manager, and uml model, passes those events on to the explorer model. |
void |
setTreeModelUMLEventListener(TreeModelUMLEventListener newTreeModel)
sets the tree model that will receive events. |
void |
structureChanged()
forwards this event to the tree model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ExplorerEventAdaptor instance
private TreeModelUMLEventListener treeModel
Constructor Detail |
private ExplorerEventAdaptor()
Method Detail |
public static ExplorerEventAdaptor getInstance()
public void structureChanged()
public void modelElementRemoved(java.lang.Object source)
public void modelElementAdded(java.lang.Object source)
public void modelElementChanged(java.lang.Object source)
public void setTreeModelUMLEventListener(TreeModelUMLEventListener newTreeModel)
public void propertyChange(java.beans.PropertyChangeEvent pce)
propertyChange
in interface java.beans.PropertyChangeListener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |