Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import cbit.vcell.mapping.SimulationContext.Application;
import cbit.vcell.mapping.SimulationContext.MathMappingCallback;
import cbit.vcell.mapping.SimulationContext.NetworkGenerationRequirements;
import cbit.vcell.resource.PropertyLoader;
import cbit.vcell.solver.Simulation;
import cbit.vcell.xml.XmlHelper;
import cbit.vcell.xml.XmlParseException;
Expand Down Expand Up @@ -355,7 +356,10 @@ private javax.swing.JPopupMenu getNewAppPopupMenu() {
appsPopupMenu.add(appNewDeterministicApp);
appsPopupMenu.add(appNewStochApp);
appsPopupMenu.add(appNewRulebasedApp);
appsPopupMenu.add(appNewSpringSaLaDApp);
String enableSpringSaLaD = PropertyLoader.getProperty(PropertyLoader.enableSpringSaLaD, "false");
if("true".equals(enableSpringSaLaD)) {
appsPopupMenu.add(appNewSpringSaLaDApp);
}
// user code begin {1}
// user code end
} catch (java.lang.Throwable ivjExc) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
import cbit.vcell.desktop.MathModelMetaDataPanel;
import cbit.vcell.mapping.SimulationContext;
import cbit.vcell.mathmodel.MathModel;
import cbit.vcell.resource.PropertyLoader;
import cbit.vcell.xml.gui.MiriamTreeModel.LinkNode;
/**
* Insert the type's description here.
Expand Down Expand Up @@ -720,7 +721,10 @@ private void construcutPopupMenu() {
addNewAppMenu.add(addNewAppDeterministicMenuItem);
addNewAppMenu.add(addNewAppStochasticMenuItem);
addNewAppMenu.add(addNewAppRulebasedMenuItem);
addNewAppMenu.add(addNewAppSpringSaLaDMenuItem);
String enableSpringSaLaD = PropertyLoader.getProperty(PropertyLoader.enableSpringSaLaD, "false");
if("true".equals(enableSpringSaLaD)) {
addNewAppMenu.add(addNewAppSpringSaLaDMenuItem);
}
}
popupMenu.add(addNewAppMenu);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ public class PropertyLoader {

public static final String cliWorkingDir = record("cli.workingDir", ValueType.DIR);

public static final String enableSpringSaLaD = record("vcell.enableSpringSaLaD", ValueType.BOOL);

/**
* native library directory, server side
*/
Expand Down