Commit c9db9aeb authored by Simon Barner's avatar Simon Barner
Browse files

Disable editing of IDs using setEditable() instead setEnabled()

* setEnabled(false) in createControls() has no effect, i.e. the text
  can be edited, but the change is not saved in the model. In refresh(),
  it  would have an effect, but would "gray out" the text control
* setEditable(false) prevents the user from entering text in the
  first place.

Issue-Ref: 3582

Signed-off-by: Simon Barner's avatarSimon Barner <>
parent 7c6a05a4 dcfb39d225391c87f47e29f6d1ba1cb22a3d3fe4 GREEN 8a360874918ca84a319ae7668011a19cea574148 YELLOW d15d490708e5c7362ebc4f30a04bccb0f6b64f39 GREEN edcf34766a60f21c9ba22a1ba73aa487c3d9a946 GREEN
......@@ -46,7 +46,7 @@ public class IdLabeledPropertySection extends PropertySectionBase {
super.createControls(parent, aTabbedPropertySheetPage);
idText = createFormText("ID");
/** {@inheritDoc} */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment