# HG changeset patch # User Ingo Weinzierl # Date 1308828522 0 # Node ID ee40f86dd0093496fc5ef20e1a39bc107c4a8e6f # Parent 3acc631efdf09a3a84411343e02451087ed175c1 Removed the formatter for project names in the project list. flys-client/trunk@2215 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 3acc631efdf0 -r ee40f86dd009 flys-client/ChangeLog --- a/flys-client/ChangeLog Thu Jun 23 10:07:52 2011 +0000 +++ b/flys-client/ChangeLog Thu Jun 23 11:28:42 2011 +0000 @@ -1,3 +1,9 @@ +2011-06-23 Ingo Weinzierl + + * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: + Removed the formatter that cuts out a piece of the middle of project + names. + 2011-06-23 Ingo Weinzierl * src/main/java/de/intevation/flys/client/shared/model/CollectionRecord.java: diff -r 3acc631efdf0 -r ee40f86dd009 flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Thu Jun 23 10:07:52 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Thu Jun 23 11:28:42 2011 +0000 @@ -543,20 +543,6 @@ } }); - name.setCellFormatter(new CellFormatter() { - public String format(Object value, ListGridRecord record, int row, int col) { - String n = (String) value; - int len = n.length(); - - if (len < 26) { - return n; - } - - int sec = len - 13; - return n.substring(0, 12) + "..." + n.substring(sec, len-1); - } - }); - name.setWidth(COLUMN_TITLE_WIDTH); name.setAlign(Alignment.LEFT);