Changeset 8512 in josm for trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
- Timestamp:
- 2015-06-21T01:13:09+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/PlatformHook.java
r8015 r8512 23 23 * that we want to be integrated with the OS before we setup our GUI. 24 24 */ 25 publicvoid preStartupHook();26 25 void preStartupHook(); 26 27 27 /** 28 28 * The afterPrefStartupHook will be called early, but after 29 29 * the preferences have been loaded and basic processing of 30 * command line arguments is finished. 30 * command line arguments is finished. 31 31 * It is guaranteed to be called before the GUI setup has started. 32 32 */ 33 publicvoid afterPrefStartupHook();33 void afterPrefStartupHook(); 34 34 35 35 /** … … 40 40 * OS, so we'll receive events from the system menu. 41 41 */ 42 publicvoid startupHook();42 void startupHook(); 43 43 44 44 /** … … 48 48 * @throws IOException if any I/O error occurs 49 49 */ 50 publicvoid openUrl(String url) throws IOException;50 void openUrl(String url) throws IOException; 51 51 52 52 /** … … 70 70 * user to change them. 71 71 */ 72 publicvoid initSystemShortcuts();72 void initSystemShortcuts(); 73 73 74 74 /** … … 86 86 * @return Full tooltip text (name + accelerator) 87 87 */ 88 publicString makeTooltip(String name, Shortcut sc);88 String makeTooltip(String name, Shortcut sc); 89 89 90 90 /** … … 92 92 * @return The default native LAF for this platform 93 93 */ 94 publicString getDefaultStyle();94 String getDefaultStyle(); 95 95 96 96 /** … … 98 98 * @return {@code true} if full screen is allowed, {@code false} otherwise 99 99 */ 100 publicboolean canFullscreen();100 boolean canFullscreen(); 101 101 102 102 /** … … 106 106 * @return {@code true} if the file has been renamed, {@code false} otherwise 107 107 */ 108 publicboolean rename(File from, File to);108 boolean rename(File from, File to); 109 109 110 110 /** … … 113 113 * @since 5850 114 114 */ 115 publicString getOSDescription();115 String getOSDescription(); 116 116 117 117 /** … … 126 126 * @since 7343 127 127 */ 128 publicboolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert)128 boolean setupHttpsCertificate(String entryAlias, KeyStore.TrustedCertificateEntry trustedCert) 129 129 throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException; 130 130 … … 134 134 * @since 7829 135 135 */ 136 publicFile getDefaultCacheDirectory();136 File getDefaultCacheDirectory(); 137 137 138 138 /** … … 141 141 * @since 7831 142 142 */ 143 publicFile getDefaultPrefDirectory();143 File getDefaultPrefDirectory(); 144 144 145 145 /** … … 148 148 * @since 7834 149 149 */ 150 publicFile getDefaultUserDataDirectory();150 File getDefaultUserDataDirectory(); 151 151 }
Note:
See TracChangeset
for help on using the changeset viewer.