/[fenfire]/fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst
ViewVC logotype

Diff of /fenfire/docs/pegboard/view_nodetypemanager--humppake/peg.rst

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

revision 1.2 by humppake, Tue Sep 9 13:26:31 2003 UTC revision 1.3 by humppake, Tue Sep 9 13:37:15 2003 UTC
# Line 6  PEG view_nodetypemanager--humppake: Node Line 6  PEG view_nodetypemanager--humppake: Node
6  :Date-Created: 2003-09-09  :Date-Created: 2003-09-09
7  :Last-Modified: $Date$  :Last-Modified: $Date$
8  :Revision: $Revision$  :Revision: $Revision$
9  :Status:   Current  :Status:   Incomplete
10  :Stakeholders: tjl, mudyc  :Stakeholders: tjl, mudyc
11  :Scope:    Minor  :Scope:    Minor
12  :Type:     Interface  :Type:     Interface
# Line 68  What methods the use of node type depend Line 68  What methods the use of node type depend
68  interface ``NodeTypeManager``?  interface ``NodeTypeManager``?
69    
70          RESOLVED: The module handling keybindings has no use for AbstractNodeType2D          RESOLVED: The module handling keybindings has no use for AbstractNodeType2D
71          designed for visualization, but a simple ID specifying the node type would          designed for visualization, but a simple Id specifying the node type would
72          be enough and simpler to use.          be enough and simpler to use.
73    
74            int getNodeTypeID(Object o);            int getNodeTypeId(Object o);
75    
76          NOTE: The class implementing ``NodeTypeManager`` should define constants for          NOTE: The class implementing ``NodeTypeManager`` should define constants for
77          return vales of ``getNodeTypeID``.          return vales of ``getNodeTypeId``.
78    
79    Should the meanings for integers be fixed somewhere high enough to be same for all the
80    Fenfire applitudes?
81    
82  Changes  Changes
83  =======  =======
# Line 82  Changes Line 85  Changes
85  Create interface ``org.fenfire.view.NodeTypeManager`` with methods::  Create interface ``org.fenfire.view.NodeTypeManager`` with methods::
86    
87            AbstractNodeType2D getNodeType(Object o);            AbstractNodeType2D getNodeType(Object o);
88            int getNodeTypeID(Object o);            int getNodeTypeId(Object o);
89    
90  Implement the interface to FenPDF (``org.fenfire.fenpdf.FenPDFNodeTypeManager``).  Implement the interface to FenPDF (``org.fenfire.fenpdf.FenPDFNodeTypeManager``).
91    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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