@Retention(value=RUNTIME) @Target(value=TYPE) public @interface WidgetController
Controller class to the presence
of a particular type of widget in the .view.xml page.
If a Controller class is annotated with @WidgetController annotation, it is
automatically imported by view if the target widget is present in the page.
For example:
@Controller("myController")@WidgetController({MyWidget.class, MyOtherWidget.class }) public class MyController { }
It is useful for widget developers that wants to ensure that a specific controller be present to handle something needed by their widgets, when they are used.
Controllerpublic abstract Class<? extends com.google.gwt.user.client.ui.IsWidget>[] value
Copyright © 2015. All rights reserved.