svn commit: r13325 - trunk/src_new/org/argouml/uml/ui

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-08-13 19:47:31-0700
New Revision: 13325

Modified:
   trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java
   trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java

Log:
Fix typos and update Javadoc.  No functional change.

Modified: trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java?view=diff&rev=13325&p1=trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java&p2=trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java&r1=13324&r2=13325
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/UMLCheckBox2.java	2007-08-13 19:47:31-0700
@@ -37,13 +37,13 @@
 import org.tigris.gef.presentation.Fig;
 
 /**
- * The checkbox to be used to show boolean attributes in the GUI's. Mostly used
- * on proppanels. The other new GUI elements (like UMLLinkedList) divide the
+ * The checkbox to be used to show boolean UML attributes in the GUI's. Mostly
+ * used on proppanels. Other GUI elements (like UMLLinkedList) divide the
  * responsibility of showing an attribute and maintaining the state of the
  * attribute between a GUI element and a model. This is not the case for the
- * UMLCheckBox2. Reason for this is that the model is just to simple to allow
+ * UMLCheckBox2. Reason for this is that the model is just too simple to need
  * extra classes for the model.
- *
+ * 
  * @since Oct 12, 2002
  * @author [email protected]
  */
@@ -77,18 +77,16 @@
     }
 
     /**
-     * Returns the target. The target is directly asked from the
-     * _target attribute and not from the _container attribute to make
-     * the move to a new targeting system as easy as possible.
+     * Return the target. 
      *
-     * @return Object
+     * @return the target
      */
     public Object getTarget() {
         return checkBoxTarget;
     }
 
     /**
-     * Sets the target. This method will not be used untill the target does
+     * Sets the target. This method will not be used until the target does
      * not come via the container.
      * @param target The target to set
      */
@@ -109,7 +107,7 @@
 
     /**
      * Builds the model. That is: it sets the checkbox to true or
-     * false. The name of this method is choosen to be compliant with
+     * false. The name of this method is chosen to be compliant with
      * for example UMLModelElementListModel2.
      */
     public abstract void buildModel();

Modified: trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java?view=diff&rev=13325&p1=trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java&p2=trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java&r1=13324&r2=13325
==============================================================================
--- trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java	(original)
+++ trunk/src_new/org/argouml/uml/ui/UMLComboBoxModel2.java	2007-08-13 19:47:31-0700
@@ -48,9 +48,7 @@
 import org.tigris.gef.presentation.Fig;
 
 /**
- * ComboBoxmodel for UML modelelements. This implementation does not use
- * reflection and seperates Model, View and Controller better then does
- * the former UMLComboBoxModel. <p>
+ * ComboBox Model for UML modelelements. <p>
  *
  * This combobox allows selecting no value, if so indicated
  * at construction time of this class. I.e. it is "clearable".
@@ -115,8 +113,8 @@
      * @param clearable Flag to indicate if the user may select ""
      * as value in the combobox. If true the attribute that is shown
      * by this combobox may be set to null.
-     * Makes sure that there is allways a "" in the list with objects so the
-     * user has the oportunity to select this to clear the attribute.
+     * Makes sure that there is always a "" in the list with objects so the
+     * user has the opportunity to select this to clear the attribute.
      * @throws IllegalArgumentException if one of the arguments is null
      */
     public UMLComboBoxModel2(String name, boolean clearable) {
@@ -565,6 +563,7 @@
      * @see javax.swing.AbstractListModel#fireContentsChanged(
      *          Object, int, int)
      */
+    @Override
     protected void fireContentsChanged(Object source, int index0, int index1) {
         if (fireListEvents && !buildingModel) {
             super.fireContentsChanged(source, index0, index1);
@@ -575,6 +574,7 @@
      * @see javax.swing.AbstractListModel#fireIntervalAdded(
      *          Object, int, int)
      */
+    @Override
     protected void fireIntervalAdded(Object source, int index0, int index1) {
         if (fireListEvents && !buildingModel) {
             super.fireIntervalAdded(source, index0, index1);
@@ -585,6 +585,7 @@
      * @see javax.swing.AbstractListModel#fireIntervalRemoved(
      *          Object, int, int)
      */
+    @Override
     protected void fireIntervalRemoved(Object source, int index0, int index1) {
         if (fireListEvents && !buildingModel) {
             super.fireIntervalRemoved(source, index0, index1);
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.