New properties “expandable” and “expanded” on IGroupBox to support Sections

Had a discussion about supporting sections (swt: Section, swing: expandable JPanel) in the scout model.

The decision is to add two new properties to IGroupBox and two new configured properties to AbstractGroupBox. SWT and Swing UI Layers are interpreting these properties in SwtScoutGroupBox and SwingScoutGroupBox respectively and create a nice blue Section.

IGroupBox.isExpandable, setExpandable //whether the box is expandable at all

IGroupBox.isExpanded, setExpanded//if expandable, whats the state

AbstractGroupBox.getConfiguredExpandable

AbstractGroupBox.getConfiguredExpanded

Date
Category
Author
Ivan Motsch