comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/SingleInputState.java @ 1038:9981452c7e75

First step: Added a new state handling the selection between vector or scalar and a new transition in timeseries to provide vector values (issue27). gnv-artifacts/trunk@1110 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 18 May 2010 16:28:05 +0000
parents f94a95009423
children f953c9a559d8
comparison
equal deleted inserted replaced
1037:da4306683186 1038:9981452c7e75
99 99
100 boolean valid = InputValidator.isInputValid( 100 boolean valid = InputValidator.isInputValid(
101 tmpItem.getValue(), inputValue.getType()); 101 tmpItem.getValue(), inputValue.getType());
102 102
103 if (valid) { 103 if (valid) {
104 String[] desc = getDescriptionForInputData(tmpItem, uuid); 104 String[] desc = getDescriptionForInputData(tmpItem, context, uuid);
105 tmpItem.setDescription(desc); 105 tmpItem.setDescription(desc);
106 106
107 this.inputData.put(tmpItem.getName(), tmpItem); 107 this.inputData.put(tmpItem.getName(), tmpItem);
108 return feedSuccess(); 108 return feedSuccess();
109 } 109 }

http://dive4elements.wald.intevation.org