[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst |
Date: |
Tue, 04 Feb 2003 01:15:17 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/02/04 01:15:16
Modified files:
doc/pegboard/buoydesign--tjl: peg.rst
Log message:
Hopefully clarify a little.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/buoydesign--tjl/peg.rst.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: gzz/doc/pegboard/buoydesign--tjl/peg.rst
diff -u gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.10
gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.11
--- gzz/doc/pegboard/buoydesign--tjl/peg.rst:1.10 Mon Feb 3 01:57:48 2003
+++ gzz/doc/pegboard/buoydesign--tjl/peg.rst Tue Feb 4 01:15:15 2003
@@ -3,8 +3,8 @@
=============================================================
:Author: Tuomas J. Lukka
-:Last-Modified: $Date: 2003/02/03 06:57:48 $
-:Revision: $Revision: 1.10 $
+:Last-Modified: $Date: 2003/02/04 06:15:15 $
+:Revision: $Revision: 1.11 $
:Status: Incomplete
Goals: get the xupdf and pp functionality under one model.
@@ -217,6 +217,45 @@
Matcher structure can separate left&right links and know which way
+Now, to make things clear, the call sequence for RealBuoyViewManager
+is
+
+.. UML:: BuoyManagerCall
+
+ sequence CallBuoyManager
+ call RealBuoyViewManager "render"
+ call BuoyViewMainNodeA "renderMain"
+ call RealBuoyViewManager "link(NodeTypeB)"
+ call BuoyViewNodeTypeB "renderBuoy"
+ call RealBuoyViewManager "mouse"
+ call BuoyViewNodeTypeB "createMainNode"
+ create BuoyViewMainNodeB
+ call RealBuoyViewManager "render"
+ call BuoyViewMainNodeB "renderMain"
+ call RealBuoyViewManager "link(NodeTypeA)"
+ call BuoyViewNodeTypeA "renderBuoy"
+
+ seqobject RealBuoyViewManager
+ seqobject BuoyViewNodeTypeA
+ seqobject BuoyViewNodeTypeB
+ seqobject BuoyViewMainNodeA
+ seqobject BuoyViewMainNodeB
+
+
+ ---
+ RealBuoyViewManager.c = (0,0);
+ horizontally(100, foo, RealBuoyViewManager, BuoyViewNodeTypeA,
+ BuoyViewMainNodeA, BuoyViewNodeTypeB,
+ BuoyViewMainNodeB.ghost);
+
+In the diagram, we first see RealBuoyViewManager render the view, calling
+BuoyViewMainNodeA to render the main node and getting a callback
+through the BuoyLinkListener interface about a link. This causes it to call
+BuoyViewNodeTypeB to render the buoy.
+
+Then, the mouse click comes which takes the focus to the buoy of type B.
+Its node type object is called to create the new focus object. Then, the
+render pattern is repeated, but now with BuoyViewMainNodeB in the focus.
The semi-pluggable implementation
---------------------------------
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/01
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/02
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst,
Tuomas J. Lukka <=
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/04
- [Gzz-commits] gzz/doc/pegboard/buoydesign--tjl peg.rst, Tuomas J. Lukka, 2003/02/09