Class GitSettingsPanel

  • All Implemented Interfaces:
    adams.gui.application.PreferencesPanel, ImageObserver, MenuContainer, Serializable, Comparable<adams.gui.application.PreferencesPanel>, Accessible

    public class GitSettingsPanel
    extends adams.gui.application.AbstractPropertiesPreferencesPanel
    Panel for configuring the git settings.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • GitSettingsPanel

        public GitSettingsPanel()
    • Method Detail

      • initGUI

        protected void initGUI()
        Overrides:
        initGUI in class adams.gui.application.AbstractPropertiesPreferencesPanel
      • getTitle

        public String getTitle()
        The title of the preferences.
        Specified by:
        getTitle in interface adams.gui.application.PreferencesPanel
        Specified by:
        getTitle in class adams.gui.application.AbstractPropertiesPreferencesPanel
        Returns:
        the title
      • requiresWrapper

        public boolean requiresWrapper()
        Returns whether the panel requires a wrapper scrollpane/panel for display.
        Specified by:
        requiresWrapper in interface adams.gui.application.PreferencesPanel
        Specified by:
        requiresWrapper in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        true if wrapper required
      • activate

        public String activate()
        Activates the settings.
        Specified by:
        activate in interface adams.gui.application.PreferencesPanel
        Specified by:
        activate in class adams.gui.application.AbstractPropertiesPreferencesPanel
        Returns:
        null if successfully activated, otherwise error message
      • canReset

        public boolean canReset()
        Returns whether the panel supports resetting the options.
        Specified by:
        canReset in interface adams.gui.application.PreferencesPanel
        Overrides:
        canReset in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        true if supported
      • reset

        public String reset()
        Resets the settings to their default.
        Specified by:
        reset in interface adams.gui.application.PreferencesPanel
        Overrides:
        reset in class adams.gui.application.AbstractPreferencesPanel
        Returns:
        null if successfully reset, otherwise error message