diff gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapPrintPanel.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents 890f708b18d6
children
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapPrintPanel.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/map/MapPrintPanel.java	Thu Jan 18 20:12:01 2018 +0100
@@ -51,7 +51,8 @@
     private static final String MAPFISH_RANGE = "mapfish_data_range";
     private static final String MAPFISH_SUBTITLE = "mapfish_data_subtitle";
     private static final String MAPFISH_STRETCH = "mapfish_data_strech";
-    private static final String MAPFISH_INSTITUTION = "mapfish_data_institution";
+    private static final String MAPFISH_INSTITUTION =
+        "mapfish_data_institution";
     private static final String MAPFISH_SOURCE = "mapfish_data_source";
     private static final String MAPFISH_CREATOR = "mapfish_data_creator";
     private static final String MAPFISH_DATEPLACE = "mapfish_data_dateplace";
@@ -80,7 +81,11 @@
     protected MapToolbar mapToolbar;
     protected MapPrintWindow parent;
 
-    public MapPrintPanel(Collection collection, MapToolbar mapToolbar, MapPrintWindow parent) {
+    public MapPrintPanel(
+        Collection collection,
+        MapToolbar mapToolbar,
+        MapPrintWindow parent
+    ) {
         this.collection = collection;
         this.mapToolbar = mapToolbar;
         this.parent     = parent;
@@ -317,16 +322,24 @@
         GWT.log("MapPrintPanel.updateCollection via RPC now");
 
         List<Property> properties = new ArrayList<Property>();
-        properties.add(new PropertySetting(MAPFISH_MAPTITLE, pageTitle.getValueAsString()));
-//        properties.add(new PropertySetting(MAPFISH_LAYOUT, pageFormat.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_SUBTITLE, pageSubtitle.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_RANGE, pageRange.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_STRETCH, pageStretch.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_INSTITUTION, pageInstitution.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_SOURCE, pageSource.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_CREATOR, pageCreator.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_DATEPLACE, pageDatePlace.getValueAsString()));
-        properties.add(new PropertySetting(MAPFISH_LOGO, pageLogo.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_MAPTITLE, pageTitle.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_SUBTITLE, pageSubtitle.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_RANGE, pageRange.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_STRETCH, pageStretch.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_INSTITUTION, pageInstitution.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_SOURCE, pageSource.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_CREATOR, pageCreator.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_DATEPLACE, pageDatePlace.getValueAsString()));
+        properties.add(new PropertySetting(
+                MAPFISH_LOGO, pageLogo.getValueAsString()));
         settings.setSettings("default", properties);
 
         collection.addSettings("print-settings", settings);

http://dive4elements.wald.intevation.org