diff --git a/client/src/org/compiere/grid/GridSynchronizer.java b/client/src/org/compiere/grid/GridSynchronizer.java index 2a8eaa0d08..aeedfd8196 100644 --- a/client/src/org/compiere/grid/GridSynchronizer.java +++ b/client/src/org/compiere/grid/GridSynchronizer.java @@ -1,3 +1,16 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 2007 Adempiere, Inc. All Rights Reserved. * + * 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.grid; import java.beans.PropertyChangeEvent; @@ -18,6 +31,11 @@ public class GridSynchronizer implements PropertyChangeListener, StateChangeList private GridController parent; private GridController child; + /** + * + * @param parent + * @param child + */ public GridSynchronizer(GridController parent, GridController child) { this.parent = parent; this.child = child; @@ -26,6 +44,9 @@ public class GridSynchronizer implements PropertyChangeListener, StateChangeList parent.getMTab().addStateChangeListener(this); } + /** + * @param evt + */ public void propertyChange(PropertyChangeEvent evt) { if (evt.getPropertyName().equals(GridTab.PROPERTY)) { if (child.isCurrent()) { @@ -37,6 +58,9 @@ public class GridSynchronizer implements PropertyChangeListener, StateChangeList } } + /** + * @param event + */ public void stateChange(StateChangeEvent event) { if (child.isCurrent()) { child.getMTab().dataRefresh();