Examples of GarminFlightPlanRoute


Examples of slash.navigation.fpl.GarminFlightPlanRoute

        List<GarminFlightPlanPosition> flightPlanPositions = new ArrayList<GarminFlightPlanPosition>();
        for (P position : getPositions()) {
            flightPlanPositions.add(position.asGarminFlightPlanPosition());
        }
        return new GarminFlightPlanRoute(getName(), getDescription(), flightPlanPositions);
    }
View Full Code Here

Examples of slash.navigation.fpl.GarminFlightPlanRoute

            } else {
                boolean duplicateFirstPosition = preferences.getBoolean(DUPLICATE_FIRST_POSITION_PREFERENCE, true);
                ParserCallback parserCallback = new ParserCallback() {
                    public void preprocess(BaseRoute route, NavigationFormat format) {
                        if (format instanceof GarminFlightPlanFormat) {
                            GarminFlightPlanRoute garminFlightPlanRoute = (GarminFlightPlanRoute) route;
                            completeGarminFlightPlan(garminFlightPlanRoute);
                        }
                    }
                };
                new NavigationFormatParser().write(route, format, duplicateFirstPosition, true, parserCallback, files);
View Full Code Here

Examples of slash.navigation.fpl.GarminFlightPlanRoute

* @author Christian Pesch
*/

public class CompleteFlightPlanAction extends FrameAction {
    public void run() {
        GarminFlightPlanRoute route = (GarminFlightPlanRoute) RouteConverter.getInstance().getPositionsModel().getRoute();
        CompleteFlightPlanDialog dialog = new CompleteFlightPlanDialog(route);
        dialog.pack();
        dialog.restoreLocation();
        dialog.setVisible(true);
    }
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.