Class DefaultUIGroupProvider

    • Constructor Detail

      • DefaultUIGroupProvider

        public DefaultUIGroupProvider​(TerminalUIBuilder delegateReformatter)
        Creates new instance of DefaultUIGroupProvider that contains delegate to be able to call reformat on it. Groups do not have their own preview editor, but still need to call reformat on preference changed
        Parameters:
        delegateReformatter - The delegate that is able to reformat
    • Method Detail

      • reformat

        public void reformat()
        Description copied from interface: IReformatable
        Calls reformat on controlled editor
      • createGroup

        protected org.eclipse.swt.widgets.Composite createGroup​(org.eclipse.swt.widgets.Composite parent,
                                                                String name)
        Description copied from class: AbstractPreferenceGroupProvider
        Creates UI representation of this instance
        Specified by:
        createGroup in class AbstractPreferenceGroupProvider
        Parameters:
        parent - The composite parent of UI element that shall be created, cannot be null
        name - The name of the group, cannot be null
        Returns:
        Created UI element, cannot be null