Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/org/dive4elements/river/artifacts/states/fixation/PreprocessingSelect.java @ 5831:bd047b71ab37
Repaired internal references
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 12:06:39 +0200 |
parents | flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/PreprocessingSelect.java@8e66293c5369 |
children |
comparison
equal
deleted
inserted
replaced
5830:160f53ee0870 | 5831:bd047b71ab37 |
---|---|
1 package org.dive4elements.river.artifacts.states.fixation; | |
2 | |
3 import org.w3c.dom.Element; | |
4 | |
5 import org.dive4elements.artifacts.Artifact; | |
6 import org.dive4elements.artifacts.CallContext; | |
7 import org.dive4elements.artifacts.CallMeta; | |
8 | |
9 import org.dive4elements.artifacts.common.utils.XMLUtils; | |
10 | |
11 import org.dive4elements.river.artifacts.resources.Resources; | |
12 import org.dive4elements.river.artifacts.states.DefaultState; | |
13 | |
14 | |
15 /** | |
16 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
17 */ | |
18 public class PreprocessingSelect extends DefaultState { | |
19 | |
20 /** | |
21 * The default constructor that initializes an empty State object. | |
22 */ | |
23 public PreprocessingSelect() { | |
24 } | |
25 | |
26 @Override | |
27 protected Element[] createItems( | |
28 XMLUtils.ElementCreator ec, | |
29 Artifact artifact, | |
30 String name, | |
31 CallContext context) | |
32 { | |
33 CallMeta meta = context.getMeta(); | |
34 Element[] elements = new Element[1]; | |
35 elements[0] = createItem( | |
36 ec, | |
37 new String[] { | |
38 Resources.getMsg(meta, | |
39 "state.fix.preprocess", | |
40 "state.fix.preprocess"), | |
41 "preprocess"}); | |
42 | |
43 return elements; | |
44 } | |
45 | |
46 | |
47 @Override | |
48 protected String getUIProvider() { | |
49 return "fix.preprocessing_panel"; | |
50 } | |
51 } | |
52 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |