svn commit: r13033 - trunk/src_new/org/argouml/kernel/ProjectImpl.java
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-07-10 11:28:05-0700
New Revision: 13033
Modified:
trunk/src_new/org/argouml/kernel/ProjectImpl.java
Log:
Back out changes with missing pieces
Modified: trunk/src_new/org/argouml/kernel/ProjectImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/kernel/ProjectImpl.java?view=diff&rev=13033&p1=trunk/src_new/org/argouml/kernel/ProjectImpl.java&p2=trunk/src_new/org/argouml/kernel/ProjectImpl.java&r1=13032&r2=13033
==============================================================================
--- trunk/src_new/org/argouml/kernel/ProjectImpl.java (original)
+++ trunk/src_new/org/argouml/kernel/ProjectImpl.java 2007-07-10 11:28:05-0700
@@ -49,7 +49,8 @@
import org.argouml.configuration.Configuration;
import org.argouml.i18n.Translator;
import org.argouml.model.Model;
-import org.argouml.persistence.ExtensionManager;
+import org.argouml.persistence.PersistenceManager;
+import org.argouml.ui.ProjectBrowser;
import org.argouml.ui.explorer.ExplorerEventAdaptor;
import org.argouml.uml.CommentEdge;
import org.argouml.uml.Profile;
@@ -153,7 +154,7 @@
*/
public ProjectImpl(URI theProjectUri) {
this();
- uri = ExtensionManager.getInstance().fixUriExtension(theProjectUri);
+ uri = PersistenceManager.getInstance().fixUriExtension(theProjectUri);
uri = theProjectUri;
}
@@ -195,7 +196,7 @@
public String getBaseName() {
String n = getName();
- n = ExtensionManager.getInstance().getBaseName(n);
+ n = PersistenceManager.getInstance().getBaseName(n);
return n;
}
@@ -232,7 +233,7 @@
public void setURI(URI theUri) {
if (theUri != null) {
- theUri = ExtensionManager.getInstance().fixUriExtension(theUri);
+ theUri = PersistenceManager.getInstance().fixUriExtension(theUri);
}
if (LOG.isDebugEnabled()) {
@@ -414,7 +415,7 @@
private void setSaveEnabled(boolean enable) {
ProjectManager pm = ProjectManager.getManager();
if (pm.getCurrentProject() == this) {
- ProjectSaveAction.getInstance().setSaveEnabled(enable);
+ pm.setSaveEnabled(enable);
}
}