[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fenfire-dev] PEG: NodeTypeManager
From: |
Tuomas Lukka |
Subject: |
Re: [Fenfire-dev] PEG: NodeTypeManager |
Date: |
Wed, 10 Sep 2003 12:20:16 +0300 |
User-agent: |
Mutt/1.5.4i |
On Wed, Sep 10, 2003 at 12:00:49PM +0300, Asko Soukka wrote:
> keskiviikkona, 10. syyskuuta 2003 klo 08:34, Asko Soukka kirjoitti:
> > /** Resolve the node type for the given node object.
> > * @param o The node object, which node type is to be
> > resolved.
> > * @return An AbstractNodeType2D for the given node object.
> > */
> > public AbstractNodeType2D getNodeType(Object o);
>
> Uh, even the latest PEG is incomplete.
> With Tuukka we wondered about, should getNodeType() method
> be renamed as getBuoyNodeType() or getNodeType2D()
Umm, why does it need to return NodeType2D? That's a bit
less-than-ideally-general?
See, NodeType2D is an implementation of BuoyViewNodeType that uses View2D for
its contents.
BuoyViewNodeType is the general node type class.
Tuomas