Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/OutliersInput.java @ 3468:f37e7e8907cb
merged flys-artifacts/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:39 +0200 |
parents | 70e9d56e21fc |
children | c63f0b4ac1b4 |
comparison
equal
deleted
inserted
replaced
3387:5ffad8bde8ad | 3468:f37e7e8907cb |
---|---|
1 package de.intevation.flys.artifacts.states; | |
2 | |
3 import org.apache.log4j.Logger; | |
4 | |
5 import de.intevation.artifactdatabase.data.StateData; | |
6 import de.intevation.artifacts.CallContext; | |
7 | |
8 /** | |
9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
10 */ | |
11 public class OutliersInput extends DefaultState { | |
12 | |
13 /** The logger used in this class. */ | |
14 private static Logger logger = Logger.getLogger(OutliersInput.class); | |
15 | |
16 public static final String PARAMETER_NAME = "outliers"; | |
17 | |
18 | |
19 /** | |
20 * The default constructor that initializes an empty State object. | |
21 */ | |
22 public OutliersInput() { | |
23 } | |
24 | |
25 @Override | |
26 protected String getUIProvider() { | |
27 return "outliers_input"; | |
28 } | |
29 | |
30 | |
31 @Override | |
32 protected String[] getDefaultsFor(CallContext context, StateData data) { | |
33 if (data != null && data.getName().equals(PARAMETER_NAME)) { | |
34 return new String[] {"3", "3"}; | |
35 } | |
36 | |
37 return null; | |
38 } | |
39 | |
40 } | |
41 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |