Class SelectMultipleFilesPage

    • Field Detail

      • m_FileChooser

        protected BaseFileChooser m_FileChooser
        the filechooser for selecting the files.
      • m_ButtonAdd

        protected BaseButton m_ButtonAdd
        the button for bringing up the filechooser.
      • m_ButtonRemove

        protected BaseButton m_ButtonRemove
        the button for removing the selected files.
      • m_ButtonRemoveAll

        protected BaseButton m_ButtonRemoveAll
        the button for removing all files.
      • m_ButtonMoveUp

        protected BaseButton m_ButtonMoveUp
        the button for moving the selected files up.
      • m_ButtonMoveDown

        protected BaseButton m_ButtonMoveDown
        the button for moving the selected files down.
    • Constructor Detail

      • SelectMultipleFilesPage

        public SelectMultipleFilesPage()
        Default constructor.
      • SelectMultipleFilesPage

        public SelectMultipleFilesPage​(String pageName)
        Initializes the page with the given page name.
        Parameters:
        pageName - the page name to use
    • Method Detail

      • finishInit

        protected void finishInit()
        finishes the initialization.
        Overrides:
        finishInit in class BasePanel
      • updateListButtons

        protected void updateListButtons()
        Updates the enabled state of the buttons.
      • setAutoAppendExtension

        public void setAutoAppendExtension​(boolean value)
        Sets whether to automatically append the currently selected file extension or the default one (if All-Filter is used).
        Parameters:
        value - if true, then the file extension will be added automatically
      • getAutoAppendExtension

        public boolean getAutoAppendExtension()
        Returns whether to automatically append the currently selected file extension or the default one (if All-Filter is used).
        Returns:
        true if the file extension will be added automatically
      • setDefaultExtension

        public void setDefaultExtension​(String value)
        Sets the default extension. Is used if m_AutoAppendExtension is true and the All-Filter is selected.
        Parameters:
        value - the extension (without dot), use null to unset
      • getDefaultExtension

        public String getDefaultExtension()
        Returns the default extension. Is used if m_AutoAppendExtension is true and the All-Filter is selected.
        Returns:
        the extension, can be null
      • setCurrentDirectory

        public void setCurrentDirectory​(File value)
        Sets the current directory to use for the file chooser.
        Parameters:
        value - the current directory
      • getCurrentDirectory

        public File getCurrentDirectory()
        Returns the current directory in use by the file chooser.
        Returns:
        the current directory
      • setCurrent

        public void setCurrent​(File[] value)
        Sets the current files.
        Parameters:
        value - the files
      • getCurrent

        public File[] getCurrent()
        Returns the current files.
        Returns:
        the current files
      • addChoosableFileFilter

        public void addChoosableFileFilter​(FileFilter value)
        Adds the given file filter to the filechooser.
        Parameters:
        value - the file filter to add
      • setFileFilter

        public void setFileFilter​(FileFilter value)
        Sets the active file filter.
        Parameters:
        value - the file filter to select
      • getFileFilter

        public FileFilter getFileFilter()
        Returns the active file filter.
        Returns:
        the current file filter
      • setProperties

        public void setProperties​(Properties value)
        Sets the content of the page (ie parameters) as properties.
        Specified by:
        setProperties in class AbstractWizardPage
        Parameters:
        value - the parameters as properties
      • getProperties

        public Properties getProperties()
        Returns the content of the page (ie parameters) as properties.
        Specified by:
        getProperties in class AbstractWizardPage
        Returns:
        the parameters as properties