]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.simulation/src/org/simantics/simulation/project/ExperimentManagerKeys.java
Added new ExperimentRuns.createRun utility
[simantics/platform.git] / bundles / org.simantics.simulation / src / org / simantics / simulation / project / ExperimentManagerKeys.java
1 package org.simantics.simulation.project;
2
3 import org.simantics.utils.datastructures.hints.IHintContext.Key;
4 import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;
5
6 /**
7  * @author Tuukka Lehtonen
8  */
9 public final class ExperimentManagerKeys {
10
11     /**
12      * Affects how {@link ExperimentManager} works when new experiments are
13      * activated through
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.
19      */
20     public static final Key EXPERIMENT_MANAGER_MODE = new KeyOf(ExperimentManagerMode.class, "EXPERIMENT_MANAGER_MODE");
21
22 }