ISimSpaceExplorer explorer =
new SimpleSimSpaceExplorer(configWindow.getSelectionTreeSet());
// TODO this should be editable via the GUI
Set<BaseVariable<?>> expModelVars = explorer.getModelVariables();
expModelVars.add(new IntVariable("numOfReactants", 5, 1, 10, 2));
expModelVars.add(new IntVariable("numOfSpecies", 5, 1, 10, 2));
expModelVars.add(new IntVariable("ReactPerSpecies", 2, 1, 5, 1));
// Check whether the experiment is already set up with some other variables
ExperimentVariables newExpVars = new ExperimentVariables();
if (expVars != null) {
newExpVars.setSubLevel(expVars);