/[fenfire]/fenfire/org/fenfire/loom/LoomBindings.java
ViewVC logotype

Diff of /fenfire/org/fenfire/loom/LoomBindings.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by benja, Sat Mar 22 20:27:13 2003 UTC revision 1.3 by benja, Sat Mar 22 20:28:34 2003 UTC
# Line 37  import com.hp.hpl.mesa.rdf.jena.model.*; Line 37  import com.hp.hpl.mesa.rdf.jena.model.*;
37   *  Not tested at this time.   *  Not tested at this time.
38   */   */
39  public class LoomBindings implements Binder {  public class LoomBindings implements Binder {
40        public static boolean dbg = false;
41        private static void p(String s) { System.out.println(s); }
42    
43      protected Screen screen;      protected Screen screen;
44      protected Loom loom;      protected Loom loom;
45            
# Line 45  public class LoomBindings implements Bin Line 48  public class LoomBindings implements Bin
48      }      }
49    
50      public void keystroke(String s) {      public void keystroke(String s) {
51          System.out.println("Keystroke: "+s);          if(dbg) p("Keystroke: "+s);
52          if(s.equals("Ctrl-Q"))          if(s.equals("Ctrl-Q"))
53              System.exit(0);              System.exit(0);
54          if(loom.model == null) return;          if(loom.model == null) return;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26