svn commit: r18917 - trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2010-12-12 01:17:34-0800
New Revision: 18917

Modified:
   trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java

Log:
UML2 only: update the roots in the project when an XMI file is loaded

Modified: trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java?view=diff&pathrev=18917&r1=18916&r2=18917
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/persistence/XmiFilePersister.java	2010-12-12 01:17:34-0800
@@ -269,6 +269,7 @@
             
             p.setRoot(model);
             p.setRoots(modelPersister.getElementsRead());
+            p.updateRoots();
             File defaultProjectFile = new File(file.getPath() + ".zargo");
             // Make sure the file doesn't exist so the user will 
             // get prompted to choose a new name

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

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.