From f4f317c3adabefec4476aee9756b6b25a3306dea Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Wed, 7 Jan 2015 15:06:51 -0500 Subject: [PATCH] IDEMPIERE-2148:Cant add fields over Grid Sequence fields in window column customisation / minor peer review --- .../src/org/adempiere/webui/adwindow/GridView.java | 10 +++++----- .../adempiere/webui/panel/CustomizeGridViewPanel.java | 2 +- .../webui/window/CustomizeGridViewDialog.java | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java index 33dcee6587..e73840e1f7 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/adwindow/GridView.java @@ -72,17 +72,17 @@ import org.zkoss.zul.impl.CustomGridDataLoader; */ public class GridView extends Vbox implements EventListener, IdSpace, IFieldEditorContainer, StateChangeListener { + /** + * + */ + private static final long serialVersionUID = -2966799998482667434L; + private static final String HEADER_GRID_STYLE = "border: none; margin:0; padding: 0;"; private static final int DEFAULT_DETAIL_PAGE_SIZE = 10; private static final int DEFAULT_PAGE_SIZE = 20; - /** - * generated serial version ID - */ - private static final long serialVersionUID = -7151423393713654553L; - private static final int MIN_COLUMN_WIDTH = 100; private static final int MAX_COLUMN_WIDTH = 300; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java index 45ccebcbe4..0517c72fa8 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/CustomizeGridViewPanel.java @@ -73,7 +73,7 @@ public class CustomizeGridViewPanel extends Panel /** * */ - private static final long serialVersionUID = 1592146462575454625L; + private static final long serialVersionUID = -6300916636341781651L; private Map m_columnsWidth; ArrayList tableSeqs; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/CustomizeGridViewDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/CustomizeGridViewDialog.java index b258a51500..bb7ea48928 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/CustomizeGridViewDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/CustomizeGridViewDialog.java @@ -62,6 +62,7 @@ public class CustomizeGridViewDialog extends Window { * @param AD_Tab_ID * @param columnsWidth * @param gridFieldIds list fieldId current display in gridview + * @param gridPanel */ public static boolean showCustomize (int WindowNo, int AD_Tab_ID, Map columnsWidth,ArrayList gridFieldIds,GridView gridPanel) {