Package slash.navigation.converter.gui.helpers
package slash.navigation.converter.gui.helpers
-
ClassDescriptionA
DocumentListenerthat treats all events the same.Helps to make popups for tables headers useable.Helps to make popups for tables useable.Creates an application menu for Mac OS X for BaseRouteConverter.Owns the flat, directlyPreferences-backed getters and setters that used to live onBaseRouteConverter: selection thresholds, the last-used paths for photo/audio/upload, login credentials and a handful of enum-valued preferences (issue #214).Helps to play one audio file after the other.An elevation service that tries to find the best available elevation service.A geocoding service that tries to find the best available geocoding service.Creates aJPopupMenufor theLocalMaps table.Creates aJPopupMenufor theTileServers table.Creates aJPopupMenufor aLocalThemes table.Synchronizes the selected state of a checkbox with a preferences setting.Computes and shows a coverage overlay on the map for offline data (maps, routing, elevation, POI) that is already downloaded, driven by the "Offline Coverage" entry in the View menu.Assembles aDiagnosticReportfrom a captured crash and spools it to disk.Creates aJPopupMenufor aRemoteMaps table.Creates aJPopupMenufor aRemoteThemes table.A helper for simplifiedDownloadoperations.Creates aJPopupMenufor aDownloadTableModel.Helps to complement positions with elevation.Knows how to cope with external programs like mail.Encodes the sponsor feature lock counters for the update-check.Creates aJMenuBarfor RouteConverter.Helps to convert addresses into geographic coordinates.Helps to tag photos with GPS data.Helps to insert positions.Fills theRouteDistanceAndTimeCachefor routes of the local catalog by parsing their files in a background thread - one file at a time, bounded queue, rows fill progressively as results arrive.Implements the common callbacks from theMapViewfor the BaseRouteConverter services.Enumeration of supported map views.Updates aJMenuwith the position lists fromPositionsTableColumnModel.Filters files by the extension of a givenBaseNavigationFormat.Fills theRouteDistanceAndTimeCachewith the totalDistanceAndTimeof theDistanceAndTimeAggregatoronce a route opened from the browse panel settles - event-driven, never synchronous at selection time.Creates aJPopupMenufor the photos table of thePhotoPanel.Creates aJPopupMenufor for the photos table of thePointOfInterestPanel.Helps to augment a positions with coordinates, elevation, position number for its description, postal address, populated place and speed information.A helper for rendering aspects ofBaseNavigationPosition.Creates aJPopupMenufor the positions table of theConvertPanel.Fetches the first bullet points of a RouteConverter release from its live release page on the RouteConverter website (routeconverter.com/de), to show as highlights in the update nudge dialog.ConvertsRemoteMapinto aMapDescriptor.Fills aRouteDistanceAndTimeCachefor routes of the remote catalog from the server metadata attributes of the catalog XML (specs/00055): length in meters and duration in seconds arrive with the category listing, so rows show values immediately - no download, no parsing, no server round trip (specs/00012 P3).Updates aJMenus with theRecentUrlsModel.The single source of truth for the locales RouteConverter offers in the user interface.A helper for rendering aspects ofRouteModel.A helper for simplifiedRouteModeloperations.Helps to interact with the RemoteCatalog and RouteFeedback service.Creates aJPopupMenufor aPositionsModel.Helps to route between positions.Shows notifications via theNotificationManageruponRoutingServiceListenerevents onRoutingServices.Owns the lazily-initialised, shared services that used to live directly onBaseRouteConverter: the map view, the audio player (TimeAlbum) and the position augmenter.Runs whileServiceRegistry.setMapView(String, MapViewSwapped)holds this registry's lock, so the field swap and whatever Swing wiring the caller does for the new view are one atomic step to outside readers ofServiceRegistry.getMapView()/ServiceRegistry.isMapViewAvailable().Enumeration of the strategies how to tag photos.Synchronizes the texts ofJMenuItems with theUndoManager.Knows how to retrieve the information which is the latest version.Decides how insistentlyUpdateCheckershould nudge towards a newer RouteConverter version, based on how far the running version has fallen behind.