tn5250j/src/org/tn5250j/event EmulatorActionEvent.java,1.1,1.2

[email protected]
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/event
In directory sc8-pr-cvs1:/tmp/cvs-serv26694/src/org/tn5250j/event

Modified Files:
	EmulatorActionEvent.java 
Log Message:
Several bugfixes.

Index: EmulatorActionEvent.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/event/EmulatorActionEvent.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** EmulatorActionEvent.java	17 Jun 2003 06:02:48 -0000	1.1
--- EmulatorActionEvent.java	20 Jan 2004 15:53:28 -0000	1.2
***************
*** 1,61 ****
! /*
!  * @(#)EmulatorActionEvent.java
!  * Copyright:    Copyright (c) 2001, 2002, 2003
!  *
!  * This program is free software; you can redistribute it and/or modify
!  * it under the terms of the GNU General Public License as published by
!  * the Free Software Foundation; either version 2, or (at your option)
!  * any later version.
!  *
!  * 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 software; see the file COPYING.  If not, write to
!  * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
!  * Boston, MA 02111-1307 USA
!  *
!  */
! package org.tn5250j.event;
! 
! import java.util.EventObject;
! 
! public class EmulatorActionEvent extends EventObject {
! 
!    public static final int CLOSE_SESSION = 1;
!    public static final int START_NEW_SESSION = 2;
!    public static final int CLOSE_EMULATOR = 3;
! 
!    public EmulatorActionEvent(Object obj){
!       super(obj);
! 
!    }
! 
!    public EmulatorActionEvent(Object obj, String s) {
!       super(obj);
!       message = s;
!    }
! 
!    public String getMessage() {
!       return message;
!    }
! 
!    public void setMessage(String s) {
!       message = s;
!    }
! 
!    public int getAction() {
! 
!       return action;
!    }
! 
!    public void setAction(int s) {
! 
!       action = s;
!    }
! 
!    private String message;
!    private int action;
! }
--- 1,62 ----
! /*
!  * @(#)EmulatorActionEvent.java
!  * Copyright:    Copyright (c) 2001, 2002, 2003
!  *
!  * This program is free software; you can redistribute it and/or modify
!  * it under the terms of the GNU General Public License as published by
!  * the Free Software Foundation; either version 2, or (at your option)
!  * any later version.
!  *
!  * 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 software; see the file COPYING.  If not, write to
!  * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
!  * Boston, MA 02111-1307 USA
!  *
!  */
! package org.tn5250j.event;
! 
! import java.util.EventObject;
! 
! public class EmulatorActionEvent extends EventObject {
! 
!    public static final int CLOSE_SESSION = 1;
!    public static final int START_NEW_SESSION = 2;
!    public static final int CLOSE_EMULATOR = 3;
!    public static final int START_DUPLICATE = 4;
! 
!    public EmulatorActionEvent(Object obj){
!       super(obj);
! 
!    }
! 
!    public EmulatorActionEvent(Object obj, String s) {
!       super(obj);
!       message = s;
!    }
! 
!    public String getMessage() {
!       return message;
!    }
! 
!    public void setMessage(String s) {
!       message = s;
!    }
! 
!    public int getAction() {
! 
!       return action;
!    }
! 
!    public void setAction(int s) {
! 
!       action = s;
!    }
! 
!    private String message;
!    private int action;
! }




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.