public void updateModelsConfig(ModelConfiguratorInterface <HandModifiedDataState> config)
 {
     commandsStore.executeCommand(new UpdateConfigModel(model, config));
 }
Пример #2
0
 public UpdateConfigModel(HandModifiedDataModel model,
                          ModelConfiguratorInterface <HandModifiedDataState> config) : base(model)
 {
     this.config = config;
     this.model  = model;
 }
 public override void setConfig(ModelConfiguratorInterface <HandModifiedDataState> configData)
 {
     state = configData.configureMe(state);
     notifyObservers();
 }