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 21:50:54 UTC
svn commit: r345327 -
/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 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) {