Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/bundu/bezugswst/BezugswstDepthProcessor.java @ 9607:68acd2f44609
left/right h Feld
author | dnt_bjoernsen <d.tironi@bjoernsen.de> |
---|---|
date | Thu, 12 Sep 2019 15:36:01 +0200 |
parents | 5395c6d4ca50 |
children |
comparison
equal
deleted
inserted
replaced
9606:e27155374e85 | 9607:68acd2f44609 |
---|---|
74 return new BezugswstResultFacet(facetIndex, resultIndex, FACET_CHANNELDEPTH, description, AXIS_LABEL, id, hash); | 74 return new BezugswstResultFacet(facetIndex, resultIndex, FACET_CHANNELDEPTH, description, AXIS_LABEL, id, hash); |
75 } | 75 } |
76 | 76 |
77 public static Facet createFieldDepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, final int resultIndex, | 77 public static Facet createFieldDepthFacet(final CallContext context, final String hash, final String id, final int facetIndex, final int resultIndex, |
78 final int fieldIndex) { | 78 final int fieldIndex) { |
79 final String leftRightAppendixKey = BedHeightValueType.field(fieldIndex).getLeftRightStringAppendix(); | |
80 final String leftRightAppendix = Resources.getMsg(context.getMeta(), leftRightAppendixKey, leftRightAppendixKey); | |
79 | 81 |
80 final String description = Resources.getMsg(context.getMeta(), FACET_FIELD_DEPTH_DESCRIPTION, FACET_FIELD_DEPTH_DESCRIPTION, fieldIndex); | 82 final String description = Resources.getMsg(context.getMeta(), FACET_FIELD_DEPTH_DESCRIPTION, FACET_FIELD_DEPTH_DESCRIPTION, fieldIndex, |
83 leftRightAppendix); | |
81 final String facetName = String.format(FACET_FIELD_DEPTH_FORMAT, fieldIndex); | 84 final String facetName = String.format(FACET_FIELD_DEPTH_FORMAT, fieldIndex); |
82 return new BezugswstResultFacet(facetIndex, resultIndex, facetName, description, AXIS_LABEL, id, hash); | 85 return new BezugswstResultFacet(facetIndex, resultIndex, facetName, description, AXIS_LABEL, id, hash); |
83 } | 86 } |
84 | 87 |
85 @Override | 88 @Override |