geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r345327 - /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/editors/AbstractGeronimoDeploymentPlanEditor.java
Date Thu, 17 Nov 2005 20:50:54 GMT
Author: sppatel
Date: Thu Nov 17 12:50:50 2005
New Revision: 345327

URL: http://svn.apache.org/viewcvs?rev=345327&view=rev
Log: (empty)

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=345327&r1=345326&r2=345327&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 12:50:50 2005
@@ -66,6 +66,14 @@
 					editorDirtyStateChanged();
 				} else {
 					getActiveEditor().doSave(monitor);
+					if (deploymentPlan != null) {
+						if (deploymentPlan.eResource() != null) {
+							deploymentPlan.eResource().unload();
+						}
+						//TODO not sure if this is the best way to refresh model
+						IFileEditorInput fei = (IFileEditorInput) input;
+						deploymentPlan = loadDeploymentPlan(fei.getFile());
+					}
 				}
 			}
 		} catch (Exception e) {



Mime
View raw message