9292
|
1 /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde |
|
2 * Software engineering by Intevation GmbH |
|
3 * |
|
4 * This file is Free Software under the GNU AGPL (>=v3) |
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
|
6 * documentation coming with Dive4Elements River for details. |
|
7 */ |
|
8 |
|
9 package org.dive4elements.river.artifacts.bundu.bezugswst; |
|
10 |
9372
|
11 import org.dive4elements.artifacts.Artifact; |
9292
|
12 import org.dive4elements.artifacts.CallContext; |
|
13 import org.dive4elements.river.artifacts.resources.Resources; |
|
14 import org.dive4elements.river.artifacts.states.DistanceOnlyPartSelect; |
|
15 |
|
16 public class DistanceOnlyPartMissVolumeSelect extends DistanceOnlyPartSelect { |
|
17 |
|
18 @Override |
|
19 protected String getTitle(final CallContext context) { |
|
20 // custom title, rest stays |
|
21 return Resources.getMsg(context.getMeta(), "state.title.uinfo.bezugswst.miss_vol.distance_part_state"); |
|
22 } |
|
23 |
9372
|
24 @Override |
|
25 public boolean validate(final Artifact artifact) { |
|
26 return true; // validation on client side! |
|
27 } |
|
28 |
9292
|
29 } |