tim@52: /** tim@52: * tim@52: */ tim@52: package de.intevation.gnv.artifacts.context; tim@52: tim@52: import org.apache.log4j.Logger; sascha@444: tim@52: import org.w3c.dom.Document; tim@52: sascha@444: import java.awt.Dimension; sascha@444: tim@52: import de.intevation.artifactdatabase.DefaultArtifactContext; tim@52: tim@52: /** sascha@443: * @author Tim Englich (tim.englich@intevation.de) sascha@443: * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) tim@52: */ sascha@443: public class GNVArtifactContext sascha@443: extends DefaultArtifactContext sascha@443: { tim@52: /** tim@52: * the logger, used to log exceptions and additonaly information tim@52: */ tim@52: private static Logger log = Logger.getLogger(GNVArtifactContext.class); tim@171: sascha@443: public static final String CHART_TEMPLATE_KEY = sascha@443: "gnv.chart.template"; sascha@443: sascha@443: public static final String HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES_KEY = sascha@443: "gnv.horizontal.cross.section.profile.samples"; sascha@443: sascha@443: public static final Integer sascha@443: DEFAULT_HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES = Integer.valueOf(250); sascha@443: sascha@443: public static final String PALETTES_KEY = sascha@443: "gnv.color.palettes"; sascha@443: sascha@444: public static final String VERTICAL_CROSS_SECTION_SAMPLES_KEY = sascha@444: "gnv.vertical.cross.section.samples"; sascha@444: sascha@444: public static final Dimension DEFAULT_VERTICAL_CROSS_SECTION_SAMPLES = sascha@444: new Dimension(1024, 768); sascha@444: sascha@444: public static final String VERTICAL_CROSS_SECTION_FILTER_FACTORIES_KEY = sascha@444: "gnv.vertical.cross.section.filter.factories"; sascha@444: sascha@463: public static final String VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION_KEY = sascha@463: "gnv.vertical.cross.section.ground.interpolation"; sascha@463: sascha@463: public static final String DEFAULT_VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION = sascha@463: "bilinear"; sascha@463: tim@171: public GNVArtifactContext() { tim@52: super(); tim@52: log.debug("GNVArtifactContext.Constructor"); tim@52: } tim@171: tim@52: public GNVArtifactContext(Document config) { tim@52: super(config); tim@52: log.debug("GNVArtifactContext.Constructor(config)"); tim@52: } tim@52: tim@52: }