diff --git a/org.adempiere.base/src/org/compiere/model/Callout.java b/org.adempiere.base/src/org/compiere/model/Callout.java index 30dc16b2e9..59501e7024 100644 --- a/org.adempiere.base/src/org/compiere/model/Callout.java +++ b/org.adempiere.base/src/org/compiere/model/Callout.java @@ -45,7 +45,7 @@ public interface Callout * @return Error message or "" */ public String start (Properties ctx, String method, int WindowNo, - IGridTab mTab, GridField mField, Object value, Object oldValue); + GridTab mTab, GridField mField, Object value, Object oldValue); /** * Conversion Rules. diff --git a/org.adempiere.base/src/org/compiere/model/CalloutEngine.java b/org.adempiere.base/src/org/compiere/model/CalloutEngine.java index 3ae344e3b0..b901767056 100644 --- a/org.adempiere.base/src/org/compiere/model/CalloutEngine.java +++ b/org.adempiere.base/src/org/compiere/model/CalloutEngine.java @@ -49,7 +49,7 @@ public class CalloutEngine implements Callout /** Logger */ protected CLogger log = CLogger.getCLogger(getClass()); - private IGridTab m_mTab; + private GridTab m_mTab; private GridField m_mField; /** @@ -70,7 +70,7 @@ public class CalloutEngine implements Callout * @return Error message or "" */ public String start (Properties ctx, String methodName, int WindowNo, - IGridTab mTab, GridField mField, Object value, Object oldValue) + GridTab mTab, GridField mField, Object value, Object oldValue) { if (methodName == null || methodName.length() == 0) throw new IllegalArgumentException ("No Method Name"); @@ -267,7 +267,7 @@ public class CalloutEngine implements Callout * * @return gridTab */ - public IGridTab getGridTab() + public GridTab getGridTab() { return m_mTab; } diff --git a/org.adempiere.base/src/org/compiere/model/GridTab.java b/org.adempiere.base/src/org/compiere/model/GridTab.java index 0c49eb3732..32c18ae1d5 100644 --- a/org.adempiere.base/src/org/compiere/model/GridTab.java +++ b/org.adempiere.base/src/org/compiere/model/GridTab.java @@ -106,7 +106,7 @@ import org.compiere.util.ValueNamePair; * @author Paul Bowden, phib BF 2900767 Zoom to child tab - inefficient queries * @see https://sourceforge.net/tracker/?func=detail&aid=2900767&group_id=176962&atid=879332 */ -public class GridTab implements IGridTab, DataStatusListener, Evaluatee, Serializable +public class GridTab implements DataStatusListener, Evaluatee, Serializable { diff --git a/org.adempiere.base/src/org/compiere/model/IGridTab.java b/org.adempiere.base/src/org/compiere/model/IGridTab.java deleted file mode 100644 index d9a225866d..0000000000 --- a/org.adempiere.base/src/org/compiere/model/IGridTab.java +++ /dev/null @@ -1,31 +0,0 @@ -/****************************************************************************** - * Copyright (C) 2012 Elaine Tan * - * Copyright (C) 2012 Trek Global - * This program is free software; you can redistribute it and/or modify it * - * under the terms version 2 of the GNU General Public License as published * - * by the Free Software Foundation. This program is distributed in the hope * - * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * - * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along * - * with this program; if not, write to the Free Software Foundation, Inc., * - * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * - *****************************************************************************/ -package org.compiere.model; - -/** - * - * @author Elaine - * - */ -public interface IGridTab { - public String setValue(String columnName, Object value); - public String setValue(GridField field, Object value); - public Object getValue(String columnName); - public Object getValue(GridField field); - - public String[] getActiveCallouts(); - public Callout[] getActiveCalloutInstance(); - - public String processCallout(GridField field); -}