Package com.biglybt.ui.swt
Class UIExitUtilsSWT
- java.lang.Object
-
- com.biglybt.ui.swt.UIExitUtilsSWT
-
public class UIExitUtilsSWT extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
UIExitUtilsSWT.canCloseListener
-
Field Summary
Fields Modifier and Type Field Description private static CopyOnWriteList<UIExitUtilsSWT.canCloseListener>
listeners
private static boolean
skipCloseCheck
-
Constructor Summary
Constructors Constructor Description UIExitUtilsSWT()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addListener(UIExitUtilsSWT.canCloseListener l)
static boolean
canClose(GlobalManager globalManager, boolean bForRestart)
private static boolean
getExitConfirmation(boolean for_restart)
static void
removeListener(UIExitUtilsSWT.canCloseListener l)
static void
setSkipCloseCheck(boolean b)
static void
uiShutdown()
-
-
-
Field Detail
-
skipCloseCheck
private static boolean skipCloseCheck
-
listeners
private static CopyOnWriteList<UIExitUtilsSWT.canCloseListener> listeners
-
-
Method Detail
-
addListener
public static void addListener(UIExitUtilsSWT.canCloseListener l)
-
removeListener
public static void removeListener(UIExitUtilsSWT.canCloseListener l)
-
setSkipCloseCheck
public static void setSkipCloseCheck(boolean b)
-
canClose
public static boolean canClose(GlobalManager globalManager, boolean bForRestart)
- Returns:
-
getExitConfirmation
private static boolean getExitConfirmation(boolean for_restart)
- Returns:
- true, if the user choosed OK in the exit dialog
-
uiShutdown
public static void uiShutdown()
-
-