svn commit: r14238 - trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-03-27 09:03:28-0700
New Revision: 14238

Modified:
   trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java

Log:
Add method to get names of all meta datatypes & use in metatype combo box

Update Javadoc for getAllMetatypeNames to match implemented behavior.

Modified: trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java?view=diff&rev=14238&p1=trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java&p2=trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java&r1=14237&r2=14238
==============================================================================
--- trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java	(original)
+++ trunk/src/app/src/org/argouml/uml/ui/foundation/extension_mechanisms/UMLMetaClassComboBoxModel.java	2008-03-27 09:03:28-0700
@@ -1,5 +1,5 @@
 // $Id$
-// Copyright (c) 1996-2007 The Regents of the University of California. All
+// Copyright (c) 1996-2008 The Regents of the University of California. All
 // Rights Reserved. Permission to use, copy, modify, and distribute this
 // software and its documentation without fee, and without a written
 // agreement is hereby granted, provided that the above copyright notice
@@ -57,6 +57,7 @@
         } else {
             metaClasses = new LinkedList<String>(tmpMetaClasses);
         }
+        tmpMetaClasses.addAll(Model.getCoreHelper().getAllMetaDatatypeNames());
         try {
             Collections.sort(metaClasses);
         } catch (UnsupportedOperationException e) {
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.