Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsholl2010-04-02 14:59:41 +0000
committerjsholl2010-04-02 14:59:41 +0000
commiteaaf7b933d1e4e2b577fedc6726ca36ee78a6f71 (patch)
tree47ee04337fd6d3e8c8e393e27d7360824ff54a35 /plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse
parent2541d9fa33871d2223b8a92131c27cf0814ca112 (diff)
downloadwebtools.javaee-eaaf7b933d1e4e2b577fedc6726ca36ee78a6f71.tar.gz
webtools.javaee-eaaf7b933d1e4e2b577fedc6726ca36ee78a6f71.tar.xz
webtools.javaee-eaaf7b933d1e4e2b577fedc6726ca36ee78a6f71.zip
[307770] Dynamic web project wizard : EAR drop down goes blank after pressing cancel on New EAR Application Wizard
Diffstat (limited to 'plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse')
-rw-r--r--plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/project/facet/WebAppSelectionPanel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/project/facet/WebAppSelectionPanel.java b/plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/project/facet/WebAppSelectionPanel.java
index 4f77de78c..0e8e405e2 100644
--- a/plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/project/facet/WebAppSelectionPanel.java
+++ b/plugins/org.eclipse.jst.servlet.ui/servlet_ui/org/eclipse/jst/servlet/ui/project/facet/WebAppSelectionPanel.java
@@ -14,6 +14,7 @@ package org.eclipse.jst.servlet.ui.project.facet;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.layout.GridDataFactory;
+import org.eclipse.jface.window.Window;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.jst.j2ee.web.project.facet.IWebFragmentFacetInstallDataModelProperties;
import org.eclipse.osgi.util.NLS;
@@ -90,7 +91,7 @@ public final class WebAppSelectionPanel implements IWebFragmentFacetInstallDataM
/* IRuntime runtime = (IRuntime)model.getProperty(FACET_RUNTIME);
wizard.ssetRuntimeInDataModel(runtime);
*/
- if( dialog.open() != SWT.CANCEL )
+ if( dialog.open() != Window.CANCEL )
{
model.notifyPropertyChange(WAR_PROJECT_NAME, IDataModel.VALID_VALUES_CHG);
final String warproj = wizard.getProjectName();

Back to the top