You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2005/11/17 20:38:02 UTC

svn commit: r345314 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java

Author: sppatel
Date: Thu Nov 17 11:37:59 2005
New Revision: 345314

URL: http://svn.apache.org/viewcvs?rev=345314&view=rev
Log:
allow source page to be saved

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java?rev=345314&r1=345313&r2=345314&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java (original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java Thu Nov 17 11:37:59 2005
@@ -60,7 +60,7 @@
 		try {
 			IEditorInput input = getEditorInput();
 			if (input instanceof IFileEditorInput) {
-				if (deploymentPlan != null) {
+				if (deploymentPlan != null && getActiveEditor() == null) {
 					deploymentPlan.eResource().save(Collections.EMPTY_MAP);
 					commitFormPages(true);
 					editorDirtyStateChanged();