[jbosstools-commits] JBoss Tools SVN: r44032 - trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Wed Sep 26 08:13:25 EDT 2012


Author: adietish
Date: 2012-09-26 08:13:25 -0400 (Wed, 26 Sep 2012)
New Revision: 44032

Modified:
   trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ProjectAndServerAdapterSettingsWizardPage.java
Log:
cleaned code

Modified: trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ProjectAndServerAdapterSettingsWizardPage.java
===================================================================
--- trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ProjectAndServerAdapterSettingsWizardPage.java	2012-09-26 10:34:34 UTC (rev 44031)
+++ trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ProjectAndServerAdapterSettingsWizardPage.java	2012-09-26 12:13:25 UTC (rev 44032)
@@ -117,16 +117,12 @@
 		ValueBindingBuilder.bind(WidgetProperties.enabled().observe(existingProjectNameText))
 				.notUpdating(newProjectObservable).converting(new InvertingBooleanConverter()).in(dbc);
 		// move focus to the project name text control when choosing the 'Use an existing project' option.
-		newProjectRadioBtn.addSelectionListener(new SelectionListener() {
+		newProjectRadioBtn.addSelectionListener(new SelectionAdapter() {
 			@Override
 			public void widgetSelected(SelectionEvent e) {
 				existingProjectNameText.setFocus();
 				existingProjectNameText.selectAll();
 			}
-
-			@Override
-			public void widgetDefaultSelected(SelectionEvent e) {
-			}
 		});
 		// let's provide content assist on the existing project name
 		ControlDecoration dec = new ControlDecoration(existingProjectNameText, SWT.TOP | SWT.LEFT);



More information about the jbosstools-commits mailing list