I wrap it to support the menu item toggling (radio & check) while still just subclassing the GWT MenuItem. You should be able to use setCommand as usual. getCommand will always return a ToggleCommand though, containing the original command, or when the menu item is disabled a dummy command.
Sander
> --
> You received this message because you are subscribed to the Google Groups "GWTLib" group.
> To post to this group, send email to gwt...@googlegroups.com.
> To unsubscribe from this group, send email to gwtlib+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gwtlib?hl=en.
>
Thanks,
Sander