Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LocationPicker.java @ 7966:d1cfd23e35cd
Set identifier for listgridfields and resized columns.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 25 Jun 2014 15:40:44 +0200 |
parents | ea9eef426962 |
children |
comparison
equal
deleted
inserted
replaced
7965:c9b6fe05334a | 7966:d1cfd23e35cd |
---|---|
154 locationTable.setShowRecordComponentsByCell(true); | 154 locationTable.setShowRecordComponentsByCell(true); |
155 locationTable.setHeight100(); | 155 locationTable.setHeight100(); |
156 locationTable.setEmptyMessage(MSG.empty_filter()); | 156 locationTable.setEmptyMessage(MSG.empty_filter()); |
157 locationTable.setCanReorderFields(false); | 157 locationTable.setCanReorderFields(false); |
158 | 158 |
159 ListGridField addLocation = new ListGridField ("", ""); | 159 ListGridField addLocation = new ListGridField ("addlocation", ""); |
160 addLocation.setType (ListGridFieldType.ICON); | 160 addLocation.setType (ListGridFieldType.ICON); |
161 addLocation.setWidth (20); | 161 addLocation.setWidth (30); |
162 addLocation.setCellIcon (baseUrl + MSG.markerGreen()); | 162 addLocation.setCellIcon (baseUrl + MSG.markerGreen()); |
163 ListGridField addTo = new ListGridField ("", ""); | 163 ListGridField addTo = new ListGridField ("addto", ""); |
164 addTo.setType (ListGridFieldType.ICON); | 164 addTo.setType (ListGridFieldType.ICON); |
165 addTo.setWidth (20); | 165 addTo.setWidth (30); |
166 addTo.setCellIcon (baseUrl + MSG.markerRed()); | 166 addTo.setCellIcon (baseUrl + MSG.markerRed()); |
167 | 167 |
168 ListGridField ldescr = new ListGridField("description", | 168 ListGridField ldescr = new ListGridField("description", |
169 MSG.description()); | 169 MSG.description()); |
170 ldescr.setType(ListGridFieldType.TEXT); | 170 ldescr.setType(ListGridFieldType.TEXT); |