Package org.openstreetmap.josm.gui
Class MainApplication.DefaultNativeOsCallback
java.lang.Object
org.openstreetmap.josm.gui.MainApplication.DefaultNativeOsCallback
- All Implemented Interfaces:
PlatformHook.NativeOsCallback
- Enclosing class:
- MainApplication
private static final class MainApplication.DefaultNativeOsCallback
extends Object
implements PlatformHook.NativeOsCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmacOS: Called when JOSM is asked to show it's about dialog.voidmacOS: Called when JOSM is asked to show it's preferences UI.booleanmacOS: Invoked when JOSM is asked to quit.voidmacOS: Called when JOSM is asked to open a list of files.
-
Constructor Details
-
DefaultNativeOsCallback
private DefaultNativeOsCallback()
-
-
Method Details
-
openFiles
Description copied from interface:PlatformHook.NativeOsCallbackmacOS: Called when JOSM is asked to open a list of files.- Specified by:
openFilesin interfacePlatformHook.NativeOsCallback- Parameters:
files- list of files to open
-
handleQuitRequest
Description copied from interface:PlatformHook.NativeOsCallbackmacOS: Invoked when JOSM is asked to quit.- Specified by:
handleQuitRequestin interfacePlatformHook.NativeOsCallback- Returns:
trueif JOSM has been closed,falseif the user has cancelled the operation.
-
handleAbout
Description copied from interface:PlatformHook.NativeOsCallbackmacOS: Called when JOSM is asked to show it's about dialog.- Specified by:
handleAboutin interfacePlatformHook.NativeOsCallback
-
handlePreferences
Description copied from interface:PlatformHook.NativeOsCallbackmacOS: Called when JOSM is asked to show it's preferences UI.- Specified by:
handlePreferencesin interfacePlatformHook.NativeOsCallback
-