Package slash.navigation.converter.gui

Examples of slash.navigation.converter.gui.RouteConverter.clearSelection()


public class InsertPositionFacade {
    public void insertAllWaypoints() {
        RouteConverter r = RouteConverter.getInstance();
        int[] selectedRows = r.getPositionsView().getSelectedRows();
        r.clearSelection();

        RoutingService routingService = r.getRoutingServiceFacade().getRoutingService();
        if (routingService instanceof GoogleDirections && r.isMapViewInitialized()) {
            ((GoogleDirections) routingService).insertAllWaypoints(selectedRows);
        } else
View Full Code Here


    }

    public void insertOnlyTurnpoints() {
        RouteConverter r = RouteConverter.getInstance();
        int[] selectedRows = r.getPositionsView().getSelectedRows();
        r.clearSelection();

        RoutingService routingService = r.getRoutingServiceFacade().getRoutingService();
        if (routingService instanceof GoogleDirections && r.isMapViewInitialized()) {
            ((GoogleDirections) routingService).insertOnlyTurnpoints(selectedRows);
        } else
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.