1 package org.simantics.simulation.project;
3 import org.simantics.utils.datastructures.hints.IHintContext.Key;
4 import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;
7 * @author Tuukka Lehtonen
9 public final class ExperimentManagerKeys {
12 * Affects how {@link ExperimentManager} works when new experiments are
14 * {@link IExperimentManager#startExperiment(org.simantics.db.Resource, IExperimentActivationListener, boolean)}
15 * . If this hint is set to {@link ExperimentManagerMode#SINGLE_EXPERIMENT},
16 * the manager will shut down the previously active experiment before
17 * activating the new experiment. Otherwise the previous experiment will not
18 * be touched by ExperimentManager.
20 public static final Key EXPERIMENT_MANAGER_MODE = new KeyOf(ExperimentManagerMode.class, "EXPERIMENT_MANAGER_MODE");