/[gzz]/gzz/doc/pegboard/buoydesign--tjl/peg.rst
ViewVC logotype

Diff of /gzz/doc/pegboard/buoydesign--tjl/peg.rst

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

revision 1.7 by tjl, Fri Jan 31 11:35:50 2003 UTC revision 1.8 by tjl, Sat Feb 1 17:32:22 2003 UTC
# Line 19  Issues Line 19  Issues
19      and use the boolean return value to determine whether      and use the boolean return value to determine whether
20      regeneration is needed.      regeneration is needed.
21    
22      This also fixes the idea that a BuoyViewNode is really a single      This also fixes the idea that the *BuoyViewMainNode* is really a single
23      view in a single VobScene.      view in a single VobScene.
24    
25  - Should we let keystrokes also not-regenerate the vobscene?  - Should we let keystrokes also not-regenerate the vobscene?
# Line 143  The architecture needs to support all th Line 143  The architecture needs to support all th
143      Link.c = TransclusionLink.c + o;      Link.c = TransclusionLink.c + o;
144    
145    
146  Implementation  Interfaces
147  --------------  ----------
148    
149  Now, the picture gets clearer: the whole structure of the current buoy view  Now, the picture gets clearer: the whole structure of the current buoy view
150  should be *defined* by a single facade:  should be *defined* by a single facade:
# Line 197  hen after B.setFocus(B.4), node B will s Line 197  hen after B.setFocus(B.4), node B will s
197    
198  The linkId passed to BuoyLinkListener must be unique for each node  The linkId passed to BuoyLinkListener must be unique for each node
199  and the identifies the link -- it must be the same in both directions.  and the identifies the link -- it must be the same in both directions.
200  The previous invariant in code is an invariant which the BuoyViewNode interface  The previous invariant in code is an invariant which these interfaces
201  must obey::  must obey::
202    
203      buoyviewnode1.renderMain(..., l);      buoyviewnode1.renderMain(..., l);
# Line 218  a hint. Line 218  a hint.
218  Matcher structure can separate left&right links and know which way  Matcher structure can separate left&right links and know which way
219    
220    
221    The pluggable implementation
222    ----------------------------
223    
224    In this implementation of the BuoyViewMainNode and BuoyViewNodeType interfaces,
225    the node and link types are pluggable. There are naturally some problems with
226    full pluggability, due to the bidirectionality of the links: some node types
227    will only match some other node types, etc.
228    
229    As the main example, consider the above case with ZZ cell nodes, PP canvases
230    and scrollblocks. The ZZ cell nodes and PP canvases are both in ZZstructure
231    and use cellviews so they can be handled by the same linking managers,
232    but the scrollblocks cannot.
233    
234    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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