Subhro or metalhammer, Can you guys post some sample code?

Where exactly did you use the trick "to use a common super type or 
interface and cast as needed."? 

Should i be checking for casts inside the render method of the cell or just 
extend AbstractCell<SuperClass> and then cast the value being passed in the 
constructor?

Thanks in advance for the help.

On Sunday, December 5, 2010 3:05:57 AM UTC-8, subhro wrote:
>
> Ohh! I just made a sample working project.
> Yes, that what i did as u mentioned below, common base class.
>
> Thanks,
> Subhro.
>
> On Sun, Dec 5, 2010 at 5:26 AM, metalhammer29a 
> <metalha...@gmail.com<javascript:>
> > wrote:
>
>> I found this, from the previous posts on this forum. [1]
>> and so far it seems I got it working.
>>
>> The trick was:
>> "to use a common super type or interface and cast as needed."
>>
>> I used Composite Design Pattern.
>>
>> [1] 
>> https://groups.google.com/group/google-web-toolkit/browse_thread/thread/c5411fe74fabd8ba/61e53348a581e111?lnk=gst
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google Web Toolkit" group.
>> To post to this group, send email to 
>> google-we...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> google-web-toolkit+unsubscr...@googlegroups.com <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to