1 package org.opentrafficsim.editor; 2 3 /** 4 * Class that groups some information on an option for a choice node, relevant to show to the user. 5 * <p> 6 * Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 7 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 8 * </p> 9 * @author <a href="https://github.com/wjschakel">Wouter Schakel</a> 10 * @param optionNode XsdTreeNode; option node. 11 * @param choice XsdTreeNode; choice node, the option node is one of its options. 12 * @param firstInGroup boolean; whether this option is first in a group and a separator might be shown in a menu. 13 * @param selected boolean; whether this option is currently selected. 14 */ 15 public record XsdOption(XsdTreeNode optionNode, XsdTreeNode choice, boolean firstInGroup, boolean selected) 16 { 17 }