svn commit: r15392 - trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-07-28 12:39:58-0700
New Revision: 15392

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

Log:
Add a couple of types so that FindDialog.reset() works (called during File->New)

Modified: trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java?view=diff&rev=15392&p1=trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&p2=trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java&r1=15391&r2=15392
==============================================================================
--- trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java	(original)
+++ trunk/src/argouml-core-model-euml/src/org/argouml/model/euml/MetaTypesEUMLImpl.java	2008-07-28 12:39:58-0700
@@ -57,7 +57,9 @@
 import org.eclipse.uml2.uml.Include;
 import org.eclipse.uml2.uml.InstanceSpecification;
 import org.eclipse.uml2.uml.Interaction;
+import org.eclipse.uml2.uml.InteractionConstraint;
 import org.eclipse.uml2.uml.Interface;
+import org.eclipse.uml2.uml.Message;
 import org.eclipse.uml2.uml.Model;
 import org.eclipse.uml2.uml.MultiplicityElement;
 import org.eclipse.uml2.uml.Namespace;
@@ -291,8 +293,8 @@
     }
 
     public Object getGuard() {
-        // TODO: Auto-generated method stub
-        throw new NotYetImplementedException();
+        // TODO: Not really the same thing, but close
+        return InteractionConstraint.class;
     }
 
     public Object getInclude() {
@@ -320,8 +322,7 @@
     }
 
     public Object getMessage() {
-        // TODO: Auto-generated method stub
-        throw new NotYetImplementedException();
+        return Message.class;
     }
 
     public Object getModel() {
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.