gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] cellview_naming


From: Benja Fallenstein
Subject: Re: [Gzz] cellview_naming
Date: Sat, 02 Nov 2002 15:29:02 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1

Tuomas Lukka wrote:

The intended use case for now is floating buoys. For each cell placed in the 
cellview,
I get a call and can place a buoy if I like.


Ah, I see. That's nice.

The problem I see with this is that the box view and the content view are not independently selectable.

Well, they can be if we make a CellViewFactory whose only job is to
return a given cellview with the given cellcontentview.

But that might get nasty.


Exactly :-)

But it goes even further: actually, I think that ViewContext may not be
the right approach. Consider, for example, MultitypeCellContentView.
Now, if I want my text to be shown in a different way, that doesn't happen;
if we wanted that to work with this approach, then you'd need
getTextCellContentView() and getImageCellContentView() for ViewContext and .. 
yurck.


True.

I think that maybe taking the approach you outline above would be better
(passing parameters in constructor).


Hm. Yes, could be.
- Benja







reply via email to

[Prev in Thread] Current Thread [Next in Thread]