Class OptionTree

    • Field Detail

      • m_TextOptionsFull

        protected BaseTextField m_TextOptionsFull
        the text field for pasting the complete option string.
      • m_CheckBoxPropsFile

        protected BaseCheckBox m_CheckBoxPropsFile
        the checkbox for properties file pre-processing.
      • m_ButtonUpdate

        protected BaseButton m_ButtonUpdate
        the button to update the tree.
      • m_TextOptionsSelected

        protected BaseTextField m_TextOptionsSelected
        the text field for options represented by the currently selected sub-tree.
      • m_ButtonCopy

        protected BaseButton m_ButtonCopy
        the button to copy the partial options to clipboard.
      • m_TreeOptions

        protected JTree m_TreeOptions
        the tree for displaying the options hierarchy.
    • Constructor Detail

      • OptionTree

        public OptionTree()
    • Method Detail

      • initGUI

        protected void initGUI()
        For initializing the GUI.
        initGUI in class BasePanel
      • update

        protected void update()
        Updates the GUI.
      • parse

        protected void parse​(DefaultMutableTreeNode parent,
                             String s)
        Parses the given option and adds the generated parts to the parent. If there are nested options, then the parsing follows depth-first.
        parent - the parent node to add the children to
        s - the string to parse
      • updateTree

        protected void updateTree()
        Updates the tree with the current full options.
      • getOptions

        protected String getOptions​(DefaultMutableTreeNode node)
        Returns the options for this node and its subtree.
        node - the node to get the options for
        the generated options
      • generatePartialOptions

        protected void generatePartialOptions()
        Generates the options based on the currently selected node and the corresponding subtree.