comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 256:5e1c1b7d6516

Added table and service for calculation output to UI. flys-client/trunk@1868 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 09 May 2011 14:29:53 +0000
parents 47fe77a1bac7
children 50a95db68e66
comparison
equal deleted inserted replaced
255:e4f0bef52689 256:5e1c1b7d6516
350 * @param name The name and title of the output. 350 * @param name The name and title of the output.
351 */ 351 */
352 protected void addOutputTab(String name, OutputMode out) { 352 protected void addOutputTab(String name, OutputMode out) {
353 // XXX Maybe we should change this determination of visual outputs. I am 353 // XXX Maybe we should change this determination of visual outputs. I am
354 // not sure if the mimetype is the correct value for this! 354 // not sure if the mimetype is the correct value for this!
355
355 if (out.getMimeType().equals("text/plain")) { 356 if (out.getMimeType().equals("text/plain")) {
357 TableDataPanel p = new TableDataPanel();
358 p.setUuid(collection.identifier());
359 p.setName(out.getDescription());
360 parameterList.setPanel (p);
356 return; 361 return;
357 } 362 }
358 363
359 GWT.log("Add new output tab for '" + name + "'"); 364 GWT.log("Add new output tab for '" + name + "'");
360 365

http://dive4elements.wald.intevation.org