@UiField
SimplePanel westPanel;

westPanel.getWidget().setVisible(FALSE);

But, this may not behave as you intend.

Maybe I'm missing something in your question...

On Thu, Nov 18, 2010 at 10:57 AM, zixzigma <[email protected]> wrote:

> Hello Everyone,
>
> I have a DockLayoutPanel declared in UiBinder, with a corresponding
> Java view class.
>
> Is there anyway to manipulate DockLayoutPanel's regions from within
> Java code ?
>
> DockLayoutPanel UiBinder has regions:
>
> <g:west size='6'>
>     <g:SimplePanel ui:field="westPanel"/>
> </g:west>
>
> <g:east> ... </g:east>
>
> from Java code I want to access WEST region  and manipulate it : (hide
> it/remove it)
>
> the only way i can think of is to write the entire DockLayoutPanel in
> Java code (no UiBinder).
> because DockLayoutPanel Java API has a lot of methods for dealing with
> regions,
> but it doesnt appear to be the case with UiBinder.
>
> Please Help !
>
> Thank You
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> 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 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