Package com.gwtplatform.mvp.shared.proxy.PlaceRequest

Examples of com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder


    }

    @Override
    public void onActionEvent(ActionBarEvent event) {
        if (event.getActionType() == ActionType.ADD && event.isTheSameToken(NameTokens.getCars())) {
            placeManager.revealPlace(new Builder().nameToken(NameTokens.NEW_CAR).build());
        }
    }
View Full Code Here


    @Override
    public void onEdit(CarDto carDto) {
        CarPresenter.MyProxy proxy = carProxyFactory.create(carDto,
                carDto.getManufacturer().getName() + carDto.getModel());

        placeManager.revealPlace(new Builder().nameToken(proxy.getNameToken()).build());
    }
View Full Code Here

        placeManager.revealPlace(new Builder().nameToken(proxy.getNameToken()).build());
    }

    @Override
    public void onCreate() {
        placeManager.revealPlace(new Builder().nameToken(NameTokens.NEW_CAR).build());
    }
View Full Code Here

    private void redirectToLoggedOnPage() {
        String token = placeManager
                .getCurrentPlaceRequest()
                .getParameter(ParameterTokens.REDIRECT, NameTokens.getOnLoginDefaultPage());
        PlaceRequest placeRequest = new Builder().nameToken(token).build();

        placeManager.revealPlace(placeRequest);
    }
View Full Code Here

TOP

Related Classes of com.gwtplatform.mvp.shared.proxy.PlaceRequest.Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.