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

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2007-07-26 10:48:35-0700
New Revision: 13156

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

Log:
Temporary fix for getRootElements so ArgoUML will start up again

Modified: trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java?view=diff&rev=13156&p1=trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java&p2=trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java&r1=13155&r2=13156
==============================================================================
--- trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java	(original)
+++ trunk/src/model-euml/src/org/argouml/model/euml/FacadeEUMLImpl.java	2007-07-26 10:48:35-0700
@@ -1968,8 +1968,10 @@
     }
 
     public Collection getRootElements() {
-        throw new NotYetImplementedException();
-        
+        // TODO: Temporary hack to let ArgoUML start up
+        Collection results = new ArrayList();
+        results.add(modelImpl.getModelManagementFactory().getRootModel());
+        return results;
     }
 
 }
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.