comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/BedHeightsDatacagePanel.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 22169da49f9b
children 28df64078f27
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
51 protected List<RecommendationPairRecord> removedPairs = 51 protected List<RecommendationPairRecord> removedPairs =
52 new ArrayList<RecommendationPairRecord>(); 52 new ArrayList<RecommendationPairRecord>();
53 53
54 /** Service handle to clone and add artifacts to collection. */ 54 /** Service handle to clone and add artifacts to collection. */
55 LoadArtifactServiceAsync loadArtifactService = GWT.create( 55 LoadArtifactServiceAsync loadArtifactService = GWT.create(
56 org.dive4elements.river.client.client.services.LoadArtifactService.class); 56 org.dive4elements.river.client.client.services
57 .LoadArtifactService.class);
57 58
58 /** Service to remove artifacts from collection. */ 59 /** Service to remove artifacts from collection. */
59 RemoveArtifactServiceAsync removeArtifactService = GWT.create( 60 RemoveArtifactServiceAsync removeArtifactService = GWT.create(
60 org.dive4elements.river.client.client.services.RemoveArtifactService.class); 61 org.dive4elements.river.client.client.services
62 .RemoveArtifactService.class);
61 63
62 protected DatacageWidget datacage; 64 protected DatacageWidget datacage;
63 65
64 public BedHeightsDatacagePanel(User user) { 66 public BedHeightsDatacagePanel(User user) {
65 super(user); 67 super(user);
66 } 68 }
67 69
68 /** 70 /**
69 * Creates the graphical representation and interaction widgets for the data. 71 * Creates graphical representation and interaction widgets for the data.
70 * @param dataList the data. 72 * @param dataList the data.
71 * @return graphical representation and interaction widgets for data. 73 * @return graphical representation and interaction widgets for data.
72 */ 74 */
73 @Override 75 @Override
74 public Canvas create(DataList dataList) { 76 public Canvas create(DataList dataList) {
106 public void adjustRecommendation(Recommendation recommendation) { 108 public void adjustRecommendation(Recommendation recommendation) {
107 recommendation.setFactory("bedheight"); 109 recommendation.setFactory("bedheight");
108 } 110 }
109 111
110 @Override 112 @Override
111 protected String createDataString(String artifact, Recommendation recommendation) { 113 protected String createDataString(
114 String artifact,
115 Recommendation recommendation
116 ) {
112 return createDataString(artifact, recommendation, "bedheight"); 117 return createDataString(artifact, recommendation, "bedheight");
113 } 118 }
114 119
115 /** 120 /**
116 * Callback for add-button. 121 * Callback for add-button.

http://dive4elements.wald.intevation.org