# HG changeset patch # User Christian Lins # Date 1348644988 0 # Node ID 1ff257ab38caf62cda337b53c5892c11d13ecaf1 # Parent ce1f62dbb69f66f021115d98b258ea659b6e183c Rename fix_derivate to fix_derivate_curve to enable manual points on it flys-artifacts/trunk@5597 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Sep 26 07:36:28 2012 +0000 @@ -1,3 +1,14 @@ +2012-09-25 Christian Lins + + * doc/conf/artifacts/fixanalysis.xml, + doc/conf/artifacts/manualpoints.xml, + doc/conf/themes.xml, + src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java, + src/main/java/de/intevation/flys/artifacts/FixationArtifact.java, + src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java, + src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java: + Rename fix_derivate facet to enable manual points in the derived curve chart. + 2012-09-25 Felix Wolfsteller * doc/conf/artifacts/manualpoints.xml: Re-enable manualpoints diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/doc/conf/artifacts/fixanalysis.xml --- a/flys-artifacts/doc/conf/artifacts/fixanalysis.xml Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/fixanalysis.xml Wed Sep 26 07:36:28 2012 +0000 @@ -194,8 +194,8 @@ - - + + diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/doc/conf/artifacts/manualpoints.xml --- a/flys-artifacts/doc/conf/artifacts/manualpoints.xml Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/manualpoints.xml Wed Sep 26 07:36:28 2012 +0000 @@ -22,7 +22,6 @@                         -         diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/doc/conf/themes.xml --- a/flys-artifacts/doc/conf/themes.xml Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/doc/conf/themes.xml Wed Sep 26 07:36:28 2012 +0000 @@ -263,8 +263,8 @@ - - + + diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FixationArtifact.java Wed Sep 26 07:36:28 2012 +0000 @@ -20,6 +20,7 @@ * The default constructor. */ public FixationArtifact() { + logger.debug("ctor()"); } /** diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FacetTypes.java Wed Sep 26 07:36:28 2012 +0000 @@ -104,7 +104,7 @@ }; public enum ChartType { - FD("fix_derivate"), + FD("fix_derivate_curve"), LS("longitudinal_section"), CS("cross_section"), DLS("discharge_longitudinal_section"), @@ -300,7 +300,7 @@ String FIX_ANALYSIS_PERIODS_LS = "fix_analysis_periods_ls"; String FIX_ANALYSIS_PERIODS_WQ = "fix_analysis_periods_wq"; - String FIX_DERIVATE = "fix_derivate"; + String FIX_DERIVATE_CURVE = "fix_derivate_curve"; String FIX_DEVIATION_DWT = "fix_deviation_dwt"; String FIX_DEVIATION_LS = "fix_deviation_ls"; diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ManualPointsSingleState.java Wed Sep 26 07:36:28 2012 +0000 @@ -61,7 +61,6 @@ // Add Facet per Diagram type if data given. for (ChartType ct: ChartType.values()) { - logger.debug("compute(): points for " + ct); // Handle points. String pointData = points.getDataAsString(ct + "." + MANUALPOINTS + DOT_DATA); @@ -73,6 +72,7 @@ fName, Resources.getMsg(meta, "manualpoints", "Manual Points")); facets.add(facet); + logger.debug("compute(): ManualPointsFacet for " + ct + " created"); } else { logger.debug("compute(): No points for " + ct); diff -r ce1f62dbb69f -r 1ff257ab38ca flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java Tue Sep 25 11:54:31 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixAnalysisCompute.java Wed Sep 26 07:36:28 2012 +0000 @@ -301,7 +301,7 @@ facets.add(new FixDerivateFacet( idg.next(), - FIX_DERIVATE, + FIX_DERIVATE_CURVE, Resources.getMsg( context.getMeta(), I18N_DERIVATIVE,