/**
 **
 ** McpDialogField.java - Descriptor for a single field in an MCP-accessible dialog
 **
 ** Copyright (C) 2026 Elphel, Inc.
 **
 ** -----------------------------------------------------------------------------**
 **
 **  McpDialogField.java is free software: you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License as published by
 **  the Free Software Foundation, either version 3 of the License, or
 **  (at your option) any later version.
 **
 **  This program is distributed in the hope that it will be useful,
 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 **  GNU General Public License for more details.
 **
 **  You should have received a copy of the GNU General Public License
 **  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ** -----------------------------------------------------------------------------**
 **
 */
package com.elphel.imagej.mcp;

public class McpDialogField {
    public enum Type {
        MESSAGE,
        BOOLEAN,
        NUMBER,
        STRING,
        CHOICE
    }

    public final Type type;
    public final String label;
    public final String tooltip;
    public final String tab;
    public final String units;
    public final String[] choices;
    public final String defaultValue;

    public McpDialogField(Type type,
                          String label,
                          String tooltip,
                          String tab,
                          String units,
                          String[] choices,
                          String defaultValue) {
        this.type = type;
        this.label = label;
        this.tooltip = tooltip;
        this.tab = tab;
        this.units = units;
        this.choices = choices;
        this.defaultValue = defaultValue;
    }
}
