actionManager.enable("delete-positionlist", existsMoreThanOneRoute);
actionManager.enable("split-positionlist", supportsMultipleRoutes && existsARoute && existsMoreThanOnePosition);
tableHeaderMenu.enable(existsMoreThanOnePosition);
//noinspection ConstantConditions
actionManager.enable("complete-flight-plan", existsAPosition && format instanceof GarminFlightPlanFormat);
actionManager.enable("print-map", r.isMapViewAvailable() && existsAPosition);
actionManager.enable("print-map-and-route", r.isMapViewAvailable() && existsAPosition && characteristics.equals(Route));
actionManager.enable("print-profile", existsAPosition);
}
private int[] selectedPositions = null;