/[gzz]/gzz/gzz/view/buoy/ScrollblockCellLinker.java
ViewVC logotype

Diff of /gzz/gzz/view/buoy/ScrollblockCellLinker.java

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

revision 1.9 by tjl, Wed Feb 5 14:09:03 2003 UTC revision 1.10 by tjl, Fri Feb 7 08:10:46 2003 UTC
# Line 22  public class ScrollblockCellLinker imple Line 22  public class ScrollblockCellLinker imple
22    
23      public gzz.index.Index enfiladeOverlap;      public gzz.index.Index enfiladeOverlap;
24    
25        public gzz.index.XuIndexer xuIndex;
26    
27      public ScrollblockCellLinker(Space s) {      public ScrollblockCellLinker(Space s) {
28          enfiladeOverlap = gzz.index.IndexManager.getEnfiladeOverlap(s);          enfiladeOverlap = gzz.index.IndexManager.getEnfiladeOverlap(s);
29      }      }
30    
31      public BuoyViewNodeType transclusionPageSpanNodeType;      public BuoyViewNodeType transclusionPageSpanNodeType;
32    
33        /** Node type to use for showing scrollblocks xulinked to.
34         */
35        public BuoyViewNodeType xulinkPageSpanNodeType;
36    
37    
38      public BuoyViewNodeType cellNodeType;      public BuoyViewNodeType cellNodeType;
39    
40      public void doLinks(Cell c, VobScene vs, int cs,      public void doLinks(Cell c, VobScene vs, int cs,
# Line 44  public class ScrollblockCellLinker imple Line 51  public class ScrollblockCellLinker imple
51          //          //
52          Enfilade1D enf = ((VStreamCellTexter)c.space.getCellTexter()).          Enfilade1D enf = ((VStreamCellTexter)c.space.getCellTexter()).
53                                  getEnfilade(c, null);                                  getEnfilade(c, null);
54          List l = enf.getList();          for(Iterator i = gzz.zzutil.Media.getScrollBlockRepresentatives(enf).iterator();
55          Set done = new HashSet();                          i.hasNext(); ) {
         for(Iterator i = l.iterator(); i.hasNext(); ) {  
56              Span s = (Span)i.next();              Span s = (Span)i.next();
57              ScrollBlock sb = s.getScrollBlock();              ScrollBlock sb = s.getScrollBlock();
             if(done.contains(sb)) continue;  
             done.add(sb);  
58              if(s instanceof PageSpan) {              if(s instanceof PageSpan) {
59                  sb.getCurrent();                  sb.getCurrent();
60    
# Line 60  public class ScrollblockCellLinker imple Line 64  public class ScrollblockCellLinker imple
64          }          }
65      }      }
66    
67    
68      // XXX Reverse links! Scrollblock to      // XXX Reverse links! Scrollblock to
69  }  }
70    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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