Interface IPreferenceTabFolderProvider

    • Method Detail

      • addOption

        void addOption​(String tabName,
                       String groupName,
                       IOption<?> option)
        Adds option to the TabItem with given name and the Group with given name
        Parameters:
        tabName - The name of the TabItem to add the option, cannot be null
        groupName - The name of the Group held by TabItem to add the option, can be null
        option - The option to add, cannot be null
      • addShowWhitespaceOption

        void addShowWhitespaceOption​(IOption<Boolean> option)
        Adds specific option that is used to turn on/off showing of whitespace characters in preview editors. The last option that is called with this will be applied
        Parameters:
        option - The option that is used to read and write actual values
      • setPreview

        void setPreview​(String tabName,
                        String previewText,
                        IOptionProvider optionProvider)
        Sets given previewText and given previewFromatter for the tab with given tabName
        Parameters:
        tabName - The name of the tab to set preview preferences on, cannot be null
        previewText - The text of preview(code example to be formatted), can be null
        optionProvider - The option provider for formatter(that shall format previewText with given preferences), cannot be null
      • createContent

        void createContent​(org.eclipse.swt.widgets.Composite parent)
        Builds UI representation of this TabFolder
        Parameters:
        parent - The composite parent of this TabFolder, cannot be null