/*
 * Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package ch.ethz.seb.sebserver.gui.service.examconfig;

import ch.ethz.seb.sebserver.gbl.model.sebconfig.ConfigurationAttribute;
import ch.ethz.seb.sebserver.gbl.model.sebconfig.ConfigurationTableValues;
import ch.ethz.seb.sebserver.gbl.model.sebconfig.ConfigurationValue;
import ch.ethz.seb.sebserver.gui.service.examconfig.impl.ViewContext;

public interface ValueChangeListener {

    void valueChanged(
            ViewContext context,
            ConfigurationAttribute attribute,
            String value,
            int listIndex);

    void tableChanged(ConfigurationTableValues tableValue);

    void notifyGUI(
            ViewContext viewContext,
            ConfigurationAttribute attribute,
            ConfigurationValue initValue);

}
