Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/ReferenceCurveFacet.java @ 2402:c5e4a2d67631
'Bezugslinienverfahren': Forget to put new created WWAxisType onto blackboard.
flys-artifacts/trunk@4029 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 10 Feb 2012 11:21:35 +0000 |
parents | d4330439be3a |
children | f008c3335a77 |
comparison
equal
deleted
inserted
replaced
2401:b56e8613ce0d | 2402:c5e4a2d67631 |
---|---|
97 | 97 |
98 Object obj = context.getContextValue("reference.curve.axis.scale"); | 98 Object obj = context.getContextValue("reference.curve.axis.scale"); |
99 | 99 |
100 if (!(obj instanceof WWAxisTypes)) { | 100 if (!(obj instanceof WWAxisTypes)) { |
101 obj = new WWAxisTypes(getWWQQ(artifact, context)); | 101 obj = new WWAxisTypes(getWWQQ(artifact, context)); |
102 context.putContextValue("reference.curve.axis.scale", obj); | |
102 } | 103 } |
103 else { | 104 else { |
104 ((WWAxisTypes)obj).classify(getWWQQ(artifact, context)); | 105 ((WWAxisTypes)obj).classify(getWWQQ(artifact, context)); |
105 } | 106 } |
106 | 107 |