Author: snjeza
Date: 2011-03-30 15:33:54 -0400 (Wed, 30 Mar 2011)
New Revision: 30164
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java
Log:
JBIDE-8502 Cancel button doesn't work while searching via JBoss Tools Runtime
Detection
Modified:
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java
===================================================================
---
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java 2011-03-30
19:19:10 UTC (rev 30163)
+++
trunk/runtime/plugins/org.jboss.tools.runtime.ui/src/org/jboss/tools/runtime/ui/dialogs/SearchRuntimePathDialog.java 2011-03-30
19:33:54 UTC (rev 30164)
@@ -189,8 +189,9 @@
@Override
protected void createButtonsForButtonBar(Composite parent) {
// OK button
- createButton(parent, IDialogConstants.OK_ID, IDialogConstants.OK_LABEL,
+ Button okButton = createButton(parent, IDialogConstants.OK_ID,
IDialogConstants.OK_LABEL,
true);
+ okButton.setEnabled(false);
// cancel button
createCancelButton(parent);
}
Show replies by date