* minor - copyright header

This commit is contained in:
Heng Sin Low 2008-01-16 04:35:53 +00:00
parent fd3ce2f5f9
commit 6f93dcb593
2 changed files with 35 additions and 0 deletions

View File

@ -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.model;
import java.util.EventObject;
@ -11,6 +24,11 @@ public class StateChangeEvent extends EventObject {
private int eventType;
/**
*
* @param source
* @param eventType
*/
public StateChangeEvent(Object source, int eventType) {
super(source);
this.eventType = eventType;

View File

@ -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.model;
import java.util.EventListener;
@ -9,6 +22,10 @@ import java.util.EventListener;
*/
public interface StateChangeListener extends EventListener {
/**
*
* @param event
*/
public void stateChange(StateChangeEvent event);
}