tn5250j/src/org/tn5250j/keyboard KeyMapper.java,1.7,1.8
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard
In directory sc8-pr-cvs1:/tmp/cvs-serv12950/src/org/tn5250j/keyboard
Modified Files:
KeyMapper.java
Log Message:
Update for SendEmail features
Index: KeyMapper.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/keyboard/KeyMapper.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** KeyMapper.java 9 Jul 2003 18:55:41 -0000 1.7
--- KeyMapper.java 2 Dec 2003 13:14:47 -0000 1.8
***************
*** 36,39 ****
--- 36,40 ----
import org.tn5250j.tools.LangTool;
import org.tn5250j.tools.system.OperatingSystem;
+ import org.tn5250j.interfaces.OptionAccessFactory;
public class KeyMapper {
***************
*** 46,50 ****
private static boolean useJava14;
-
/**
* String value for the jdk 1.4 version of KeyStroker
--- 47,50 ----
***************
*** 314,317 ****
--- 314,322 ----
while (ke.hasMoreElements()) {
theKey = (String)ke.nextElement();
+
+ if (OptionAccessFactory.getInstance().isRestrictedOption(theKey)) {
+ continue;
+ }
+
theStringList = keystrokes.getProperty(theKey);
int x = 0;
-------------------------------------------------------
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/