// Addition of the entered project context
SimulationContext.Properties cprop = new SimulationContext.Properties();
-
- SimulationContextType product = getSimulationContextService()
- .selectType("product");
-
- SimulationContext testContext = getSimulationContextService().selectSimulationContext(product, value);
-
if (valid == 0) { // Input of new project context
+ SimulationContextType product = getSimulationContextService()
+ .selectType("product");
+
+ SimulationContext testContext = getSimulationContextService().selectSimulationContext(product, value);
+
if (testContext == null) {
cprop.setType(
getSimulationContextService().selectType("product"))