Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard/actions
In directory sc8-pr-cvs1:/tmp/cvs-serv6373/src/org/tn5250j/keyboard/actions
Added Files:
SpoolWorkAction.java
Log Message:
Added Kunststoff LOOK&FEEL [patrick]
Added Shortcut-key to Spool-Exporter [kenneth]
--- NEW FILE: SpoolWorkAction.java ---
/**
* Title: SpoolWorkAction.java
* Copyright: Copyright (c) 2001,2002
* Company:
* @author Kenneth J. Pouncey
* @version 0.5
*
* Description:
*
* 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.keyboard.actions;
import java.awt.event.KeyEvent;
import javax.swing.KeyStroke;
import java.awt.event.ActionEvent;
import org.tn5250j.TN5250jConstants;
import org.tn5250j.Session;
import org.tn5250j.keyboard.KeyMapper;
/**
* Work with spooled file
*/
public class SpoolWorkAction extends EmulatorAction implements TN5250jConstants {
public SpoolWorkAction(Session session, KeyMapper keyMap) {
super(session,
MNEMONIC_SPOOL_FILE,
KeyStroke.getKeyStroke(KeyEvent.VK_W,KeyEvent.ALT_MASK),
keyMap);
}
public void actionPerformed(ActionEvent e) {
session.doMeSpool();
}
}
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
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.