comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/range/LocationsTable.java @ 7941:48d8dba891f6

Fixed columns in location/distance helper panels.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 18 Jun 2014 14:25:46 +0200
parents ea9eef426962
children
comparison
equal deleted inserted replaced
7940:217ff570d83f 7941:48d8dba891f6
42 setShowRecordComponents(true); 42 setShowRecordComponents(true);
43 setShowRecordComponentsByCell(true); 43 setShowRecordComponentsByCell(true);
44 setEmptyMessage(MSG.empty_filter()); 44 setEmptyMessage(MSG.empty_filter());
45 setCanReorderFields(false); 45 setCanReorderFields(false);
46 46
47 ListGridField addfrom = new ListGridField ("from", MSG.from()); 47 ListGridField addfrom = new ListGridField ("fromIcon", MSG.from());
48 addfrom.setType(ListGridFieldType.ICON); 48 addfrom.setType(ListGridFieldType.ICON);
49 addfrom.setWidth(30); 49 addfrom.setWidth(30);
50 addfrom.setCellIcon(baseUrl + MSG.markerGreen()); 50 addfrom.setCellIcon(baseUrl + MSG.markerGreen());
51 51
52 ListGridField addto = new ListGridField("to", MSG.to()); 52 ListGridField addto = new ListGridField("toIcon", MSG.to());
53 addto.setType(ListGridFieldType.ICON); 53 addto.setType(ListGridFieldType.ICON);
54 addto.setWidth(30); 54 addto.setWidth(30);
55 addto.setCellIcon(baseUrl + MSG.markerRed()); 55 addto.setCellIcon(baseUrl + MSG.markerRed());
56 56
57 ListGridField ldescr = new ListGridField( 57 ListGridField ldescr = new ListGridField(

http://dive4elements.wald.intevation.org