Changeset 12795 in josm for trunk/src/org/openstreetmap/josm/gui/MainApplication.java
- Timestamp:
- 2017-09-09T10:35:27+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r12792 r12795 978 978 Main.toolbar = toolbar; 979 979 ProjectionPreference.setProjection(); 980 NTV2GridShiftFileWrapper.registerNTV2GridShiftFileSource( 981 NTV2GridShiftFileWrapper.NTV2_SOURCE_PRIORITY_LOCAL, 982 NTV2Proj4DirGridShiftFileSource.getInstance()); 983 NTV2GridShiftFileWrapper.registerNTV2GridShiftFileSource( 984 NTV2GridShiftFileWrapper.NTV2_SOURCE_PRIORITY_DOWNLOAD, 985 JOSM_WEBSITE_NTV2_SOURCE); 980 setupNadGridSources(); 986 981 GuiHelper.translateJavaInternalMessages(); 987 982 preConstructorInit(); … … 1037 1032 RepaintManager.setCurrentManager(new CheckThreadViolationRepaintManager()); 1038 1033 } 1034 } 1035 1036 /** 1037 * Setup the sources for NTV2 grid shift files for projection support. 1038 * @since 12795 1039 */ 1040 public static void setupNadGridSources() { 1041 NTV2GridShiftFileWrapper.registerNTV2GridShiftFileSource( 1042 NTV2GridShiftFileWrapper.NTV2_SOURCE_PRIORITY_LOCAL, 1043 NTV2Proj4DirGridShiftFileSource.getInstance()); 1044 NTV2GridShiftFileWrapper.registerNTV2GridShiftFileSource( 1045 NTV2GridShiftFileWrapper.NTV2_SOURCE_PRIORITY_DOWNLOAD, 1046 JOSM_WEBSITE_NTV2_SOURCE); 1039 1047 } 1040 1048
Note:
See TracChangeset
for help on using the changeset viewer.