Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java @ 2698:15523818eae4
Implemented states for fix-analysis.
flys-artifacts/trunk@4408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 15 May 2012 13:08:27 +0000 |
parents | 9e9eb9d97548 |
children | 0ca00d547f35 |
comparison
equal
deleted
inserted
replaced
2697:8a6ce15ced7f | 2698:15523818eae4 |
---|---|
5 import org.w3c.dom.Element; | 5 import org.w3c.dom.Element; |
6 import org.w3c.dom.Node; | 6 import org.w3c.dom.Node; |
7 | 7 |
8 import de.intevation.artifacts.Artifact; | 8 import de.intevation.artifacts.Artifact; |
9 import de.intevation.artifacts.CallContext; | 9 import de.intevation.artifacts.CallContext; |
10 import de.intevation.artifacts.CallMeta; | |
10 | 11 |
11 import de.intevation.artifacts.common.utils.XMLUtils; | 12 import de.intevation.artifacts.common.utils.XMLUtils; |
12 | 13 |
13 import de.intevation.artifactdatabase.ProtocolUtils; | 14 import de.intevation.artifactdatabase.ProtocolUtils; |
14 import de.intevation.artifactdatabase.data.StateData; | 15 import de.intevation.artifactdatabase.data.StateData; |
31 * The default constructor that initializes an empty State object. | 32 * The default constructor that initializes an empty State object. |
32 */ | 33 */ |
33 public PreprocessingSelect() { | 34 public PreprocessingSelect() { |
34 } | 35 } |
35 | 36 |
37 @Override | |
38 protected Element[] createItems( | |
39 XMLUtils.ElementCreator ec, | |
40 Artifact artifact, | |
41 String name, | |
42 CallContext context) | |
43 { | |
44 CallMeta meta = context.getMeta(); | |
45 Element[] elements = new Element[1]; | |
46 elements[0] = createItem( | |
47 ec, | |
48 new String[] { | |
49 Resources.getMsg(meta, "preprocess", "preprocess"), | |
50 "preprocess"}); | |
51 | |
52 return elements; | |
53 } | |
54 | |
55 | |
56 @Override | |
57 protected String getUIProvider() { | |
58 return "fix.preprocessing_panel"; | |
59 } | |
36 } | 60 } |
37 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 61 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |