Revision 1215:dfc8a5b23ec1
b/src/org/gss_project/gss/web/client/SearchResults.java | ||
---|---|---|
310 | 310 |
celltable.addColumn(aColumn=new DragAndDropColumn<FileResource,String>(new TextCell()) { |
311 | 311 |
@Override |
312 | 312 |
public String getValue(FileResource object) { |
313 |
return object.getVersion().toString(); |
|
313 |
if(object.isVersioned()) |
|
314 |
return object.getVersion().toString(); |
|
315 |
return "-"; |
|
314 | 316 |
} |
315 | 317 |
},"Version"); |
316 | 318 |
initDragOperation(aColumn); |
Also available in: Unified diff