1 package org.simantics.modeling.tests.commands;
3 import org.simantics.databoard.binding.Binding;
4 import org.simantics.db.testing.common.CommandSequenceEnvironment;
5 import org.simantics.db.testing.common.WriteCommand;
6 import org.simantics.utils.Development;
8 public class SetDevelopmentProperty extends WriteCommand<CommandSequenceEnvironment> {
10 transient private String key;
11 transient private Object value;
12 transient private Binding binding;
14 public SetDevelopmentProperty(String key, Object value, Binding binding) {
17 this.binding = binding;
21 public void run(CommandSequenceEnvironment environment) throws Exception {
23 Development.setProperty(key, value, binding);