Community
Participate
Working Groups
The detail view of a table with detail must honor the readonly and disabled state of the table control.
New Gerrit change created: https://git.eclipse.org/r/126368
TEST INFORMATION Summary of the critical part of the change 1. When a table with a detail panel is disabled or set to read only, its detail panel is also set to read only. This mostly leads to controls contained in the detail panel getting disabled. 2. Furthermore, the basic renderer implementation (AbstractSWTRenderer) does no longer disable its SWT controls by default when its VElement is disabled. This behavior must be implemented in sub classes. For all renderers part of EMF Forms this is the case. 3. Remaining renderers were updated to correctly use isEffectivelyReadonly and isEffectivelyEnabled instead of isReadonly and isEnabled. Potential regressions 1. Details of a disabled/readonly table are no longer editable. This is intended but might not be considered by a client 2. Custom renderers directly extending AbstractSWTRenderer, might no longer have proper disable/readonly behavior 3. Renderers might be disabled/readonly more often than so far if one of their parents is disabled/readonly Affected areas / use cases Disabling/Readonly of tables with detail panel and parent elments (e.g. containers) of other controls Things that shall be tested That all renderered controls are still disabled/set to readonly as expected. They might be disabled/readonly more often than before (1. & 3.) or not at all anymore if they are not children of AbstractControlSWTRenderer (2.)
Gerrit change https://git.eclipse.org/r/126368 was merged to [develop]. Commit: http://git.eclipse.org/c/emfclient/org.eclipse.emf.ecp.core.git/commit/?id=35a0d86658706cc4ea80d8bb2c2a6552e9c75a3a
New Gerrit change created: https://git.eclipse.org/r/126555
Gerrit change https://git.eclipse.org/r/126555 was merged to [develop]. Commit: http://git.eclipse.org/c/emfclient/org.eclipse.emf.ecp.core.git/commit/?id=df3fd96663ef7776d8bafc368ac1cef5a52b6550