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, |
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 |
|
|
64 |
} |
} |
65 |
} |
} |
66 |
|
|
67 |
|
|
68 |
// XXX Reverse links! Scrollblock to |
// XXX Reverse links! Scrollblock to |
69 |
} |
} |
70 |
|
|