Why don't you want to do the 2 things you mentioned?
On Sep 19, 8:38 am, Alexander Orlov <
alexander.or...@loxal.net> wrote:
> I have
>
> * @UiHandler("dialogOk")*
> * void dialogOk(final ClickEvent event) {*
> * // do something*
> * }*
> *
> *
> This is perfectly valid code if dialogOk is within THIS class but how can I
> add a ClickHandler to a static Widget that is defined in "another" class?
>
> I want to avoid putting this code into "another" class or using the *
> addClickHandler* method within THIS class. Is there a way around?