Author: max.andersen(a)jboss.com
Date: 2008-04-25 10:19:42 -0400 (Fri, 25 Apr 2008)
New Revision: 7808
Modified:
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterComponent.java
Log:
JBIDE-2134 [Ganymede] ClosableWizardDialog cannot be resolved to a type
Modified:
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterComponent.java
===================================================================
---
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterComponent.java 2008-04-25
14:14:32 UTC (rev 7807)
+++
branches/ganymede/trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/wizards/appregister/AppRegisterComponent.java 2008-04-25
14:19:42 UTC (rev 7808)
@@ -32,7 +32,9 @@
import org.jboss.tools.common.model.ui.attribute.editor.MutableComboBoxFieldEditor;
import
org.jboss.tools.common.model.ui.attribute.editor.MutableMultipleChoiceFieldEditor;
import org.eclipse.jface.window.Window;
+import org.eclipse.jface.wizard.WizardDialog;
+
import org.jboss.tools.common.meta.action.SpecialWizard;
import org.jboss.tools.common.meta.action.XEntityData;
import org.jboss.tools.common.meta.action.impl.XEntityDataImpl;
@@ -357,7 +359,8 @@
private IServer newServer(Shell shell) {
NewServerWizard wizard = new NewServerWizard();
- ClosableWizardDialog dialog = new ClosableWizardDialog(shell, wizard);
+ WizardDialog dialog = new WizardDialog(shell, wizard);
+
if (dialog.open() == Window.CANCEL) {
return null;
}
@@ -396,7 +399,7 @@
};
TaskWizard wizard = new TaskWizard(title, fragment);
wizard.setForcePreviousAndNextButtons(true);
- ClosableWizardDialog dialog = new ClosableWizardDialog(shell, wizard);
+ WizardDialog dialog = new WizardDialog(shell, wizard);
int result = dialog.open();
if(Window.OK != result) return null;
return
(IRuntime)wizard.getRootFragment().getTaskModel().getObject(TaskModel.TASK_RUNTIME);
Show replies by date