Package org.uberfire.client.mvp
Interface HasPresenter<T>
-
- Type Parameters:
T- The Presenter type
- All Known Subinterfaces:
UberElement<T>,UberElemental<T>,UberView<T>
public interface HasPresenter<T>Interface to inject a Presenter into a View for MVP-based Element implementations. Due to limitations with CDI it is not possible to@Injectthe correct instance of a Presenter into a View.Developers wishing to implement MVP-based UIs are encouraged to have their View implement this interface if they require access to the appropriate Presenter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinit(T presenter)
-
-
-
Method Detail
-
init
void init(T presenter)
-
-