[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fenfire-dev] PEG: NodeTypeManager
From: |
Asko Soukka |
Subject: |
Re: [Fenfire-dev] PEG: NodeTypeManager |
Date: |
Wed, 10 Sep 2003 13:43:19 +0300 |
User-agent: |
Mutt/1.4.1i |
keskiviikkona, 10. syyskuuta 2003 klo 12:20, Tuomas Lukka kirjoitti:
> > 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.
Well, I trusted that there was a reason to use AbstractNodeType2D in
Connectors, but when I looked those now, I can't find any.
TransclusionConnector does use AbstractNodeType2D.getView2D, but it also
already doing (AbstractNodeType2D) casts to BuoyViewNodeType.
Thanks for noticing.
--
Asko Soukka <address@hidden>
<http://www.iki.fi/asko.soukka/>