svn commit: r13709 - trunk/src/model/src/org/argouml/model/ModelEventPump.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-11-03 19:46:24-0700
New Revision: 13709
Modified:
trunk/src/model/src/org/argouml/model/ModelEventPump.java
Log:
Issue 4878 - Fix dev module so that obeys encapsulation rules and isn't coupled to implementations
Modified: trunk/src/model/src/org/argouml/model/ModelEventPump.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model/src/org/argouml/model/ModelEventPump.java?view=diff&rev=13709&p1=trunk/src/model/src/org/argouml/model/ModelEventPump.java&p2=trunk/src/model/src/org/argouml/model/ModelEventPump.java&r1=13708&r2=13709
==============================================================================
--- trunk/src/model/src/org/argouml/model/ModelEventPump.java (original)
+++ trunk/src/model/src/org/argouml/model/ModelEventPump.java 2007-11-03 19:46:24-0700
@@ -25,6 +25,7 @@
package org.argouml.model;
import java.beans.PropertyChangeListener;
+import java.util.List;
/**
@@ -227,4 +228,16 @@
* Blocks until all events have been delivered.
*/
void flushModelEvents();
+
+ /**
+ * Get debug info for the event pump. Information returned is implementation
+ * specific. List returned contains either Strings or Lists. Lists may be
+ * nested arbitrarily deeply forming a tree of information. If a node
+ * contains children, the first entry in the list is expected to be a String
+ * with subsequent entries representing children.
+ *
+ * @return List of Strings or other Lists.
+ */
+ @SuppressWarnings("unchecked")
+ public List getDebugInfo();
}