Author: dazarov
Date: 2012-01-12 19:53:03 -0500 (Thu, 12 Jan 2012)
New Revision: 37804
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java
Log:
Wizard page "Configure Seam Facet Settings" should be with unchecked filed
"Create Test Project" and fields "Test Project Name" and "Test
Package Name" should be disabled
https://issues.jboss.org/browse/JBIDE-10617
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java 2012-01-12
23:32:18 UTC (rev 37803)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/SeamInstallWizardPage.java 2012-01-13
00:53:03 UTC (rev 37804)
@@ -480,10 +480,15 @@
}
});
- createTestProjectCheckboxeditor.setEnabled(isNewProjectWizard());
-
registerEditor(testProjectNameditor, generationGroup, 3);
registerEditor(testsPkgNameditor, generationGroup, 3);
+
+ if(!isNewProjectWizard()){
+ createTestProjectCheckboxeditor.setValue(false);
+ createTestProjectCheckboxeditor.setEnabled(false);
+ testProjectNameditor.setEnabled(false);
+ testsPkgNameditor.setEnabled(false);
+ }
setControl(root);