summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2012-03-20 17:38:28 (EDT)
committerPawel Piech2012-03-20 17:38:56 (EDT)
commit66e13018e4dfb5ddceadf64975d8060ac2653cba (patch)
tree49d20828cc611b1c2b466a1a2ada292fc01c8525
parentf77c9feddfe8eb064159da89680a79b6326c8f04 (diff)
downloadorg.eclipse.cdt-66e13018e4dfb5ddceadf64975d8060ac2653cba.zip
org.eclipse.cdt-66e13018e4dfb5ddceadf64975d8060ac2653cba.tar.gz
org.eclipse.cdt-66e13018e4dfb5ddceadf64975d8060ac2653cba.tar.bz2
Bug 374795 - Open Element dialog (CDT) has text field disabled in 3.8M6
-rw-r--r--core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/opentype/ElementSelectionDialog.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/opentype/ElementSelectionDialog.java b/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/opentype/ElementSelectionDialog.java
index 196e17a..a99d230 100644
--- a/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/opentype/ElementSelectionDialog.java
+++ b/core/org.eclipse.cdt.ui/browser/org/eclipse/cdt/internal/ui/browser/opentype/ElementSelectionDialog.java
@@ -336,11 +336,6 @@ public class ElementSelectionDialog extends TypeSelectionDialog {
return types.toArray(new ITypeInfo[types.size()]);
}
- @Override
- protected final void setListElements(Object[] elements) {
- super.setListElements(elements);
- }
-
/**
* @deprecated Unsupported
*/
@@ -350,6 +345,14 @@ public class ElementSelectionDialog extends TypeSelectionDialog {
throw new UnsupportedOperationException();
}
+ /* (non-Javadoc)
+ * @see org.eclipse.ui.dialogs.AbstractElementListSelectionDialog#handleElementsChanged()
+ */
+ @Override
+ protected void handleElementsChanged() {
+ updateOkState();
+ }
+
@Override
protected void handleEmptyList() {
updateOkState();