svn commit: r18440 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2010-06-10 01:42:12-0700
New Revision: 18440

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

Log:
UML2: some progress

Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java?view=diff&pathrev=18440&r1=18439&r2=18440
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java	(original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java	2010-06-10 01:42:12-0700
@@ -370,6 +370,9 @@
                 ret = ((OpaqueBehavior) handle).getBodies().get(0);
             }
             return ret;
+        } else if (handle instanceof String) {
+            // oops we already have the body
+            return handle;
         }
         throw new IllegalArgumentException(
                 "Unsupported argument type - must be Comment, Constraint," +
@@ -1425,8 +1428,8 @@
     }
 
     public String getTagOfTag(Object handle) {
-        throw new NotYetImplementedException();
-
+        // TODO: not implemented
+        return null;
     }
 
     public Object getTaggedValue(Object handle, String name) {
@@ -1435,15 +1438,16 @@
     }
 
     public String getTaggedValueValue(Object handle, String name) {
-        throw new NotYetImplementedException();
+        // TODO: not implemented
+        return null;
     }
 
     public Iterator getTaggedValues(Object handle) {
-        throw new NotYetImplementedException();
+        return Collections.emptySet().iterator();
     }
 
     public Collection getTaggedValuesCollection(Object handle) {
-        throw new NotYetImplementedException();
+        return new ArrayList();
     }
 
     public Vertex getTarget(Object handle) {

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

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.