Design Patterns

5 views
Skip to first unread message

Lúcio Camilo

unread,
Nov 19, 2009, 3:08:40 PM11/19/09
to google-we...@googlegroups.com
The component Composite and the object Command have something in common with the design patterns with same name?

Martin Trummer

unread,
Nov 20, 2009, 4:37:19 AM11/20/09
to Google Web Toolkit
yes

Lúcio Camilo

unread,
Nov 21, 2009, 5:58:29 PM11/21/09
to google-we...@googlegroups.com
But someone can xplain what?

2009/11/20 Martin Trummer <martin....@24act.at>
--

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.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=.



Martin Trummer

unread,
Nov 23, 2009, 5:21:36 AM11/23/09
to Google Web Toolkit
maybe you should ask a more detailed question

the GWT stuff is just an implementation of the corresponding pattern
with the same name
you'll find plenty of explanations for the patterns when you google
for them
or look it up in wiki
http://en.wikipedia.org/wiki/Command_pattern

I don't know what more one could say about this..

On 21 Nov., 23:58, Lúcio Camilo <luciocam...@gmail.com> wrote:
> But someone can xplain what?
>
> 2009/11/20 Martin Trummer <martin.trum...@24act.at>
>
> > yes
>
> > On 19 Nov., 21:08, Lúcio Camilo <luciocam...@gmail.com> wrote:
> > > The component Composite and the object Command have something in common
> > with
> > > the design patterns with same name?
>
> > --
>
> > 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.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsu...@googlegroups.com>
> > .

Lúcio Camilo

unread,
Nov 23, 2009, 9:31:00 AM11/23/09
to google-we...@googlegroups.com
The Command I understand, but and the Composite? Does not seems the same than the pattern.
There are others design Patterns in GWT?

2009/11/23 Martin Trummer <martin....@24act.at>
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.

Andreas Mueller

unread,
Nov 24, 2009, 5:11:06 AM11/24/09
to Google Web Toolkit
Hi Lúcio,

Composite in GWT is indeed the composite pattern as described in
Wikipedia:...the composite pattern is a partitioning design pattern.
Composite allows a group of objects to be treated in the same way as a
single instance of an object.

Using com.google.gwt.user.client.ui.Composite you can treat a group of
e.g. Widgets as a single instance of an object.

Regards,

Andreas

On 23 Nov., 15:31, Lúcio Camilo <luciocam...@gmail.com> wrote:
> The Command I understand, but and the Composite? Does not seems the same
> than the pattern.
> There are others design Patterns in GWT?
>
> 2009/11/23 Martin Trummer <martin.trum...@24act.at>
>
>
>
> > maybe you should ask a more detailed question
>
> > the GWT stuff is just an implementation of the corresponding pattern
> > with the same name
> > you'll find plenty of explanations for the patterns when you google
> > for them
> > or look it up in wiki
> >http://en.wikipedia.org/wiki/Command_pattern
>
> > I don't know what more one could say about this..
>
> > On 21 Nov., 23:58, Lúcio Camilo <luciocam...@gmail.com> wrote:
> > > But someone can xplain what?
>
> > > 2009/11/20 Martin Trummer <martin.trum...@24act.at>
>
> > > > yes
>
> > > > On 19 Nov., 21:08, Lúcio Camilo <luciocam...@gmail.com> wrote:
> > > > > The component Composite and the object Command have something in
> > common
> > > > with
> > > > > the design patterns with same name?
>
> > > > --
>
> > > > 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.
> > > > To unsubscribe from this group, send email to
> > > > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
> > <google-web-toolkit%2Bunsu...@googlegroups.com<google-web-toolkit%252Bu nsubs...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/google-web-toolkit?hl=.
>
> > --
>
> > 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.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com<google-web-toolkit%2Bunsubs cr...@googlegroups.com>
Reply all
Reply to author
Forward
0 new messages