They extend 'com.google.gwt.user.client.ui.Composite'.

"getDisplay().asWidget())" is a method (in use with the MVP) which
returns only the Widget:

  @Override
  public Widget asWidget() {
      return this;
  }

I do not separate my views into different EntryPoints, just use them
inside one EntryPoint
and switch them on/off with my AppPresenter.class .


On 6 Nov., 02:00, Yozons Support on Gmail <[email protected]> wrote:
> Thanks.
>
> On Thu, Nov 5, 2009 at 12:30 AM, gwtfanb0y 
> <[email protected]>wrote:
>
>
>
> > @SuppressWarnings({"MethodOnlyUsedFromInnerClass"})
> > private void showMain() {
> >  container.clear();
> >  container.add(portalMainWidget.getDisplay().asWidget());
> > }
>
> > private void showLogin() {
> >  container.clear();
> >  container.add(loginComponent.getDisplay().asWidget());
> > }
>
> What type are the loginComponent and portalMainWidget?
>
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to