Author: scabanovich
Date: 2009-12-17 12:33:46 -0500 (Thu, 17 Dec 2009)
New Revision: 19430
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5492
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java 2009-12-17
17:11:49 UTC (rev 19429)
+++
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/attribute/editor/StringButtonFieldEditorEx.java 2009-12-17
17:33:46 UTC (rev 19430)
@@ -133,7 +133,7 @@
}
});
// by default
- getLabelAction().setEnabled(Boolean.FALSE.booleanValue());
+// getLabelAction().setEnabled(Boolean.FALSE.booleanValue());
} else {
style = getSettings().getStyle("Label.Style"); //$NON-NLS-1$
if (style==SWT.DEFAULT) style = SWT.NONE;
@@ -289,7 +289,7 @@
String value = valueProvider.getStringValue(Boolean.TRUE.booleanValue());
getTextField().setText(value);
if (getLabelAction()!=null) {
- getLabelAction().setEnabled((value!=null && value.length()>0));
+ getLabelAction().setEnabled((value!=null/* && value.length()>0*/));
}
}