com.mucommander.ui.macosx
Class OSXIntegration

java.lang.Object
  extended by com.mucommander.ui.macosx.OSXIntegration

public class OSXIntegration
extends java.lang.Object

This class handles Mac OS X specifics when muCommander is started:

The com.apple.eawt API is used to handle 'About', 'Preferences' and 'Quit' events and report back to the OS.

Author:
Maxence Bernard
See Also:
EAWTHandler

Constructor Summary
OSXIntegration()
           
 
Method Summary
static boolean doQuit()
          Quits the application after displaying a confirmation dialog if it hasn't been disabled in the preferences.
static void showAbout()
          Shows the 'About' dialog.
static void showPreferences()
          Shows the 'Preferences' dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSXIntegration

public OSXIntegration()
Method Detail

showAbout

public static void showAbout()
Shows the 'About' dialog.


showPreferences

public static void showPreferences()
Shows the 'Preferences' dialog.


doQuit

public static boolean doQuit()
Quits the application after displaying a confirmation dialog if it hasn't been disabled in the preferences. Return true if the operation has been aborted by user.



This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard