Class AbstractSectionSWTRenderer

    • Method Detail

      • createFirstColumn

        protected abstract org.eclipse.swt.widgets.Control createFirstColumn​(org.eclipse.swt.widgets.Composite parent)
        Renders the first column.
        Parameters:
        parent - the parent composite
        Returns:
        the rendered control
      • adjustLayoutData

        protected void adjustLayoutData​(boolean collapsed)
        Adjusts the visibility for all gridcells based on the collapse state.
        Parameters:
        collapsed - the collapse state
      • getDataBindingContext

        protected org.eclipse.emf.databinding.EMFDataBindingContext getDataBindingContext()
        Returns the EMFDataBindingContext.
        Returns:
        the data binding context
        Since:
        1.13
      • initCollapseState

        protected abstract void initCollapseState()
        Called by the VSectionedArea when all children have been renderered. Initialises the collapse state based on VSection.isCollapsed().
        Since:
        1.6
      • computeLeftMargin

        protected int computeLeftMargin()
        Returns:
        the left margin
        Since:
        1.16
      • getLabelWidth

        protected Optional<java.lang.Integer> getLabelWidth()
        The label width.
        Returns:
        the width
        Since:
        1.18