Activation starts when the route matches. Brix checks authorization, registers listeners, marks the presenter active, and attempts to reveal the view.
getAuthorizer().isAuthorized(...); unauthorized calls reportUnAuthorizedAccess().@ListenFor), navigation interceptor if the view confirms navigation.onActivated() fires, then auto-reveal runs if enabled.Use built-ins or custom authorizers to control access.
@BrixPresenter
@BrixRoute("dashboard")
@BrixSlot(BrixSlots.BRIX_BODY_SLOT)
public class DashboardPresenter extends Presenter<DashboardView> {
// No manual view binding needed
}
@UiView
public class DashboardView extends BrixView<Element, DashboardHandlers>
implements DashboardPresenter.DashboardView {
@Handlers DashboardHandlers handlers;
}
onSlotRegistered.isEnabled() and returning false.