53 |
|
|
54 |
public org.fenfire.index.XuIndexer xuIndex; |
public org.fenfire.index.XuIndexer xuIndex; |
55 |
|
|
56 |
public VStreamNodeTexter nodeTexter; |
Fen fen; |
57 |
|
|
58 |
public ScrollBlockNodeLinker(Space space) { |
public ScrollBlockNodeLinker(Fen fen) { |
59 |
enfiladeOverlap = |
this.fen = fen; |
|
org.fenfire.index.IndexManager.getEnfiladeOverlap(space); |
|
|
nodeTexter = (VStreamNodeTexter)space.getNodeTexter(); |
|
60 |
} |
} |
61 |
|
|
62 |
public BuoyViewNodeType transclusionPageSpanNodeType; |
public BuoyViewNodeType transclusionPageSpanNodeType; |
68 |
|
|
69 |
public BuoyViewNodeType cellNodeType; |
public BuoyViewNodeType cellNodeType; |
70 |
|
|
71 |
public void doLinks(RDFNode c, VobScene vs, int cs, |
public void doLinks(Object node, VobScene vs, int cs, |
72 |
BuoyViewNodeType cellNodeType, |
BuoyViewNodeType cellNodeType, |
73 |
BuoyLinkListener listener) { |
BuoyLinkListener listener) { |
74 |
|
|
80 |
// Find all transclusion and put buoys of scrollblocks |
// Find all transclusion and put buoys of scrollblocks |
81 |
// of pagespans |
// of pagespans |
82 |
// |
// |
83 |
Enfilade1D enf = |
Enfilade1D enf = fen.txt.get(node, null); |
|
nodeTexter.getEnfilade(c, null); |
|
84 |
for(Iterator i = org.nongnu.alph.util.EnfUtil. |
for(Iterator i = org.nongnu.alph.util.EnfUtil. |
85 |
getScrollBlockRepresentatives(enf).iterator(); |
getScrollBlockRepresentatives(enf).iterator(); |
86 |
i.hasNext(); ) { |
i.hasNext(); ) { |
90 |
sb.getCurrent(); |
sb.getCurrent(); |
91 |
|
|
92 |
listener.link(1, cs, transclusionPageSpanNodeType, |
listener.link(1, cs, transclusionPageSpanNodeType, |
93 |
new org.fenfire.util.Pair(c, sb), s); |
new org.fenfire.util.Pair(node, sb), s); |
94 |
} |
} |
95 |
} |
} |
96 |
} |
} |
97 |
|
|
|
|
|
98 |
// XXX Reverse links! Scrollblock to |
// XXX Reverse links! Scrollblock to |
99 |
} |
} |
100 |
|
|