On Wed, Feb 9, 2011 at 10:01 AM, Thomas Visser <[email protected]>wrote:

> Use the 2 parameter alternative: setSelected(T object, boolean
> selected).
>
The second parameter indicates whether or not the object is selected.  I
think you're thinking about HasValue#setValue(T, boolean), which can
optionally fire a ValueChangeEvent.


>
> If the second parameter is false, the selection model will not fire a
> SelectionChangeEvent.
>
> On Feb 9, 2:43 pm, "Alejandro D. Garin" <[email protected]> wrote:
> > Hi,
> >
> > I'm using a CellTable like a vertical menu Widget. i.e. the table is a
> list
> > of menu items (for navigation) that will
> > fire Places when the user click on any of the availables menues.
> >
> > Everything is OK except in the case that the application need to be
> started
> > at an specific menu item. I want to
> > select the menu but I don't want the SingleSelectionModel fires the
> > SelectionChangeEvent event because it was
> > already called, I just want the selection ON.
> >
> > The SingleSelectionModel#setSelected has no option to stop firing the
> > changEvent.
> > Am I missing something here? I think is good to have the chance to do not
> > fire the event!
> >
> > Thanks.
>
> --
> 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.
>
>

-- 
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