gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gzz/modules/pp PPActionsImpl.java PPView2.j...


From: Matti Katila
Subject: [Gzz-commits] gzz/gzz/modules/pp PPActionsImpl.java PPView2.j...
Date: Sun, 05 Jan 2003 06:22:00 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Matti Katila <address@hidden>   03/01/05 06:22:00

Modified files:
        gzz/modules/pp : PPActionsImpl.java PPView2.java demotest.py 

Log message:
        space fixes.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/modules/pp/PPActionsImpl.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/modules/pp/PPView2.java.diff?tr1=1.39&tr2=1.40&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/modules/pp/demotest.py.diff?tr1=1.41&tr2=1.42&r1=text&r2=text

Patches:
Index: gzz/gzz/modules/pp/PPActionsImpl.java
diff -u gzz/gzz/modules/pp/PPActionsImpl.java:1.9 
gzz/gzz/modules/pp/PPActionsImpl.java:1.10
--- gzz/gzz/modules/pp/PPActionsImpl.java:1.9   Wed Dec  4 16:20:50 2002
+++ gzz/gzz/modules/pp/PPActionsImpl.java       Sun Jan  5 06:22:00 2003
@@ -40,6 +40,12 @@
     protected static void pa(String s) { System.err.println(s); }
 
     Space space;
+    public void initSpace(Space s) { 
+       this.space = s; 
+       center = space.getHomeCell();
+       if(center.t()==null) center.setText("HOME");
+       d = new PPDims(space);
+    }
 
     Cell center;
 
@@ -47,10 +53,14 @@
 
     public PPActionsImpl(Space space) throws RemoteException {
        super();
+       
+       initSpace(space);
+       /*
        this.space = space; 
        center = space.getHomeCell();
        if(center.t()==null) center.setText("HOME");
        d = new PPDims(space);
+       */
     }
 
 
Index: gzz/gzz/modules/pp/PPView2.java
diff -u gzz/gzz/modules/pp/PPView2.java:1.39 
gzz/gzz/modules/pp/PPView2.java:1.40
--- gzz/gzz/modules/pp/PPView2.java:1.39        Fri Jan  3 14:40:57 2003
+++ gzz/gzz/modules/pp/PPView2.java     Sun Jan  5 06:22:00 2003
@@ -36,7 +36,7 @@
 import java.util.*;
 
 public class PPView2 implements View {
-public static final String rcsid = "$Id: PPView2.java,v 1.39 2003/01/03 
19:40:57 mudyc Exp $";
+public static final String rcsid = "$Id: PPView2.java,v 1.40 2003/01/05 
11:22:00 mudyc Exp $";
     public static boolean dbg = true;
     private static void pa(String s) { System.err.println(s); }
 
@@ -136,7 +136,8 @@
      */
     public boolean useStencil = true;
 
-    private PPActions ppactions;
+    /* jython publics */
+    public PPActions ppactions;
     public Space space;
     public PPDims d;
 
Index: gzz/gzz/modules/pp/demotest.py
diff -u gzz/gzz/modules/pp/demotest.py:1.41 gzz/gzz/modules/pp/demotest.py:1.42
--- gzz/gzz/modules/pp/demotest.py:1.41 Sun Jan  5 03:05:16 2003
+++ gzz/gzz/modules/pp/demotest.py      Sun Jan  5 06:22:00 2003
@@ -114,7 +114,7 @@
             self.space = gzz.impl.ModularSpace(self.filer.load(), 
*tools.spaceArgList())
             self.ppv.space = self.space
             self.avc.setAccursed(self.space.getHomeCell())
-
+            self.ppv.ppactions.initSpace(self.space)
             
        if key == "Ctrl-P":
            rotatelist(self.poly)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]