@ProxyCodeSplitBundle("PATATES") @NameToken(NameTokens.HOME) @UseGatekeeper(MyGatekeeper.class) @GatekeeperParams({"blah blah", "boom", "ayoye :\"(", "FunnyBunny"}) interface MyProxy extends ProxyPlace<ApplicationPresenter> { }
@ProxyStandard @NameToken(NameTokens.RESPONSE) @CustomProvider(MyCustomProvider.class) interface MyProxy extends ProxyPlace<ResponsePresenter> { }
/** * {@link SldEditorExpertPresenter}'s proxy. */ @ProxyStandard @NameToken(NAMETOKEN) public interface MyProxy extends ProxyPlace<SldEditorExpertPresenter> { }
/** * MyProxy * * The proxy type associated with this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.APPLICATIONS_PRESENTER) @AccessControl(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends TabContentProxyPlace<ApplicationPresenter> { }
@NameToken(NameTokens.LOGIN) @ProxyStandard @NoGatekeeper interface MyProxy extends ProxyPlace<LoginPresenter> { }
@ProxyStandard @NoGatekeeper public interface MyProxy extends Proxy<NavigationPresenter> { }
@Inject public DefaultPlaceManager( EventBus eventBus, TokenFormatter tokenFormatter, @DefaultPlace String defaultPlaceNameToken, @ErrorPlace String errorPlaceNameToken, @UnauthorizedPlace String unauthorizedPlaceNameToken, Historian historian) { super(eventBus, tokenFormatter, historian); defaultPlaceRequest = new PlaceRequest.Builder().nameToken(defaultPlaceNameToken).build(); errorPlaceRequest = new PlaceRequest.Builder().nameToken(errorPlaceNameToken).build(); unauthorizedPlaceRequest = new PlaceRequest.Builder().nameToken(unauthorizedPlaceNameToken).build(); }
@DefaultGatekeeper public class CrappyGatekeeper implements Gatekeeper { @Override public boolean canReveal() { return true; } }
@ProxyEvent void blob(ClickEvent event) { } }
/** * MyProxy * * The proxy type associated with this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.SYSTEM_CONFIG_PRESENTER) @AccessControl(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends Proxy<ConfigPresenter>, Place { }
@ProxyStandard @NameToken(NameTokens.HOME) interface MyProxy extends ProxyPlace<ApplicationPresenter> { }
@ProxyStandard @NoGatekeeper public interface MyProxy extends Proxy<NavigationPresenter> { }
@DefaultGatekeeper public class LoggedInGatekeeper implements Gatekeeper { private final Session currentSession; @Inject public LoggedInGatekeeper(final Session pcurrentSession) { currentSession = pcurrentSession; } @Override public boolean canReveal() { return currentSession.isLoggedIn(); } }
@ProxyEvent void gaga(ValueChangeEvent<TextResponse> event) { }
/** * MyProxy * * The proxy type associated with this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.ARTIFACTS_PRESENTER) @AccessControl(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends TabContentProxyPlace<ArtifactPresenter> { }
@DefaultGatekeeper public class LoggedInGatekeeper implements Gatekeeper { private final CurrentUser currentUser; @Inject LoggedInGatekeeper(CurrentUser currentUser) { this.currentUser = currentUser; } @Override public boolean canReveal() { return currentUser.isLoggedIn(); } }
/** * MyProxy * * The proxy type used by this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.REFERENCES_PRESENTER) @AccessControl(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends TabContentProxyPlace<ReferencePresenter> { }
@DefaultGatekeeper public class LoggedInGatekeeper implements Gatekeeper { private final Session currentSession; @Inject public LoggedInGatekeeper(final Session pcurrentSession) { currentSession = pcurrentSession; } @Override public boolean canReveal() { return currentSession.isLoggedIn(); } }
/** * MyProxy * * The proxy type used by this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.SERVICES_PRESENTER) @AccessControl(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends TabContentProxyPlace<ServicePresenter> { }
/** * MyProxy * * The proxy type associated with this presenter. */ @ProxyCodeSplit @NameToken(NameTokens.RUNTIME_OPERATIONS_PRESENTER) @RuntimeExtension(name = NameTokens.RUNTIME_APPLICATIONS_TEXT, group = RuntimeGroup.METRICS, key = NameTokens.SUBSYSTEM) @RequiredResources(resources = {"/{selected.host}/{selected.server}/subsystem=switchyard" }) public interface MyProxy extends Proxy<RuntimePresenter> { }