svn commit: r13367 - branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: maurelio1234
Date: 2007-08-15 08:07:59-0700
New Revision: 13367
Modified:
branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java
Log:
solving bug when saving project
Modified: branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java
Url: http://argouml.tigris.org/source/browse/argouml/branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java?view=diff&rev=13367&p1=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java&p2=branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java&r1=13366&r2=13367
==============================================================================
--- branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java (original)
+++ branches/gsoc2007/maurelio1234/branch2/src_new/org/argouml/persistence/UmlFilePersister.java 2007-08-15 08:07:59-0700
@@ -70,6 +70,7 @@
import org.argouml.uml.ProjectMemberModel;
import org.argouml.uml.cognitive.ProjectMemberTodoList;
import org.argouml.uml.diagram.ProjectMemberDiagram;
+import org.argouml.uml.profile.ProfileConfiguration;
import org.argouml.util.ThreadUtils;
import org.tigris.gef.ocl.ExpansionException;
import org.tigris.gef.ocl.OCLExpander;
@@ -671,6 +672,8 @@
.getDiagramMemberFilePersister();
} else if (pm instanceof ProjectMemberTodoList) {
persister = new TodoListMemberFilePersister();
+ } else if (pm instanceof ProfileConfiguration) {
+ persister = new ProfileConfigurationFilePersister();
} else if (pm instanceof ProjectMemberModel) {
persister = new ModelMemberFilePersister();
}