svn commit: r16027 - trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-11-11 12:50:47-0800
New Revision: 16027

Modified:
   trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java

Log:
Clarify Javadoc

Modified: trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java?view=diff&rev=16027&p1=trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java&p2=trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java&r1=16026&r2=16027
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java	(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/ModelEventPump.java	2008-11-11 12:50:47-0800
@@ -166,7 +166,10 @@
 
     /**
      * Adds a listener that listens to the event that is named eventName and
-     * that occur to instances of the given modelClass.
+     * that occur to instances of the given modelClass.  If you want to be 
+     * notified of changes on all properties, use 
+     * {@link #addClassModelEventListener(PropertyChangeListener, Object, String[])}
+     * with a null third argument.
      * <p>
      * 
      * @param listener
@@ -179,7 +182,7 @@
      *             if one of the arguments is null or if the modelClass is not a
      *             valid metamodel class.
      * @throws IllegalStateException
-     *             if the listener is already registred.
+     *             if the listener is already registered.
      */
     void addClassModelEventListener(PropertyChangeListener listener,
 				    Object modelClass,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.