changeset 284:be842e36ce1c

ISSUE 46: Removed the table header context menu. flys-client/trunk@1913 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 12 May 2011 15:42:37 +0000
parents 08eef8a047eb
children 3e99953bac8d
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java
diffstat 6 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/ChangeLog	Thu May 12 15:42:37 2011 +0000
@@ -1,3 +1,16 @@
+2011-05-12  Raimund Renkert <rrenkert@intevation.de>
+
+	  ISSUE-46
+
+	* src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java,
+	  src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java:
+	  Removed the table header context menu.
+
+	* src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java:
+	  Removed log message.
+
 2011-05-12  Raimund Renkert <rrenkert@intevation.de>
 
 	  ISSUE-43
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LinkSelection.java	Thu May 12 15:42:37 2011 +0000
@@ -52,7 +52,6 @@
         VLayout v = new VLayout();
         v.setMembersMargin(10);
         v.setAlign(VerticalAlignment.TOP);
-        GWT.log("-------datastate: "+ data.getState());
         if (data.getState() == null) {
             Canvas module = super.createWidget(data);
             v.addMember(module);
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/LocationDistancePanel.java	Thu May 12 15:42:37 2011 +0000
@@ -137,6 +137,9 @@
         distanceTable  = new ListGrid();
         locationsTable = new ListGrid();
         locationDistanceTable = new ListGrid();
+        locationDistanceTable.setShowHeaderContextMenu(false);
+        distanceTable.setShowHeaderContextMenu(false);
+        locationsTable.setShowHeaderContextMenu(false);
     }
 
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/SingleLocationPanel.java	Thu May 12 15:42:37 2011 +0000
@@ -74,6 +74,7 @@
      */
     public SingleLocationPanel() {
         locationTable = new ListGrid();
+        locationTable.setShowHeaderContextMenu(false);
     }
 
 
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/TableDataPanel.java	Thu May 12 15:42:37 2011 +0000
@@ -69,6 +69,7 @@
         String url       = config.getServerUrl();
         String locale    = config.getLocale ();
         dataTable.setEmptyMessage(MESSAGES.empty_table());
+        dataTable.setShowHeaderContextMenu(false);
 
         exportService.getCSV(url, locale, uuid, name,
             new AsyncCallback<List>() {
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Thu May 12 15:14:09 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java	Thu May 12 15:42:37 2011 +0000
@@ -153,6 +153,8 @@
     public WQInputPanel() {
         wqTable      = new ListGrid();
         wqRangeTable = new ListGrid();
+        wqTable.setShowHeaderContextMenu(false);
+        wqRangeTable.setShowHeaderContextMenu(false);
     }
 
 

http://dive4elements.wald.intevation.org