Interface SelectAndEditProfileSettingsPage.ProfileManager<T extends SelectAndEditProfileSettingsPage.Profile>

    • Method Detail

      • getProfiles

        List<T> getProfiles()
      • getSelectedProfile

        T getSelectedProfile()
      • select

        void select​(T profile)
        Select the active profile.
        Parameters:
        profile - the profile.
      • duplicate

        T duplicate​(T profile)
        Duplicate profile with a new derived name and add it to user profiles list.
        Parameters:
        profile - the profile.
        Returns:
        duplicated profile
      • rename

        void rename​(T profile,
                    String newName)
             throws IllegalArgumentException
        Try to set the name of profile to newName.
        Parameters:
        profile - the profile.
        newName - the name to set.
        Throws:
        IllegalArgumentException - if renaming was not possible (e.g., newName already exists)
      • delete

        void delete​(T profile)
      • apply

        void apply()
      • cancel

        void cancel()