Class OptionsConversionPanel

    • Field Detail

      • m_ButtonInputCopy

        protected BaseButton m_ButtonInputCopy
        the button for copying the input.
      • m_ButtonInputPaste

        protected BaseButton m_ButtonInputPaste
        the button for pasting the input.
      • m_ButtonInputOpen

        protected BaseButton m_ButtonInputOpen
        the button for loading the input from file.
      • m_ButtonOutputCopy

        protected BaseButton m_ButtonOutputCopy
        the button for copying the output.
      • m_ButtonOutputPaste

        protected BaseButton m_ButtonOutputPaste
        the button for pasting the output.
      • m_ButtonOutputSave

        protected BaseButton m_ButtonOutputSave
        the button for saving the output to a file.
      • m_ButtonCodeOutputCopy

        protected BaseButton m_ButtonCodeOutputCopy
        the button for copying the code output.
      • m_ButtonCodeOutputPaste

        protected BaseButton m_ButtonCodeOutputPaste
        the button for pasting the code output.
      • m_ButtonCodeOutputSave

        protected BaseButton m_ButtonCodeOutputSave
        the button for saving the code output to a file.
      • m_ButtonConvert

        protected BaseButton m_ButtonConvert
        the button initiating the conversion.
      • m_FileChooserInput

        protected BaseFileChooser m_FileChooserInput
        the file chooser for loading the options.
      • m_FileChooserOutput

        protected BaseFileChooser m_FileChooserOutput
        the file chooser for saving the options.
      • m_FileChooserCodeOutput

        protected BaseFileChooser m_FileChooserCodeOutput
        the file chooser for saving the code options.
    • Constructor Detail

      • OptionsConversionPanel

        public OptionsConversionPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • openInput

        protected void openInput​(BaseFileChooser filechooser,
                                 BaseTextAreaWithButtons textarea)
        Loads the data from a file.
        Parameters:
        filechooser - the file chooser to use
        textarea - where to store the content
      • saveOutput

        protected void saveOutput​(BaseFileChooser filechooser,
                                  BaseTextAreaWithButtons textarea)
        Saves the output to a file.
        Parameters:
        filechooser - the file chooser to use
        textarea - the text to save
      • convert

        protected void convert()
        Performs the conversion.