svn commit: r16339 - trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java

Tom Morris <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-12-11 15:31:22-0800
New Revision: 16339

Modified:
   trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java

Log:
Issue 5555: All type of an Attribute to be cleared (not 100% sure this is a good idea)

Modified: trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java?view=diff&pathrev=16339&r1=16338&r2=16339
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/uml/ui/foundation/core/UMLStructuralFeatureTypeComboBoxModel.java	2008-12-11 15:31:22-0800
@@ -44,11 +44,12 @@
  */
 public class UMLStructuralFeatureTypeComboBoxModel extends UMLComboBoxModel2 {
 
+
     /**
      * Constructor for UMLStructuralFeatureTypeComboBoxModel.
      */
     public UMLStructuralFeatureTypeComboBoxModel() {
-        super("type", false);
+        super("type", true); // Allow null
     }
 
     /*
@@ -118,9 +119,6 @@
         if (getTarget() != null) {
             o = Model.getFacade().getType(getTarget());
         }
-        if (o == null) {
-            o = "";
-        }
         return o;
     }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=983113

To unsubscribe from this discussion, e-mail: [[email protected]].
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.