Mercurial > dive4elements > river
diff gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java @ 8860:28df64078f27
Merge with 0862ea5d66baf60e7eee496d130a35157cc9ec12
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 11:23:42 +0100 |
parents | 5e38e2924c07 |
children |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java Thu Jan 18 18:34:41 2018 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/minfo/SedLoadPeriodPanel.java Fri Jan 19 11:23:42 2018 +0100 @@ -128,7 +128,8 @@ descr.setWidth("*"); String baseUrl = GWT.getHostPageBaseURL(); - ListGridField pinFrom = new ListGridField ("fromIcon", MESSAGES.selection()); + ListGridField pinFrom = new ListGridField( + "fromIcon", MESSAGES.selection()); pinFrom.setWidth (60); pinFrom.setType (ListGridFieldType.ICON); pinFrom.setCellIcon(baseUrl + MESSAGES.markerGreen()); @@ -169,7 +170,8 @@ if (yearsItem != null && !yearsItem.getValueAsString().isEmpty()) { List<Data> data = new ArrayList<Data>(); - DataItem yearsdata = new DefaultDataItem("years", "years", yearsItem.getValueAsString().trim()); + DataItem yearsdata = new DefaultDataItem( + "years", "years", yearsItem.getValueAsString().trim()); data.add(new DefaultData( "years", null, @@ -252,7 +254,8 @@ GWT.log("Failed to find sq time interval id in data."); } - sedLoadInfoService.getSedimentLoadInfo(locale, river, "single", km[0], km[1], sq_ti_id, + sedLoadInfoService.getSedimentLoadInfo( + locale, river, "single", km[0], km[1], sq_ti_id, new AsyncCallback<SedimentLoadInfoObject[]>() { public void onFailure(Throwable caught) { GWT.log("Could not recieve sediment load informations.");