Package com.biglybt.ui.swt.shells.main
Class MainWindowDelayStub
- java.lang.Object
-
- com.biglybt.ui.swt.shells.main.MainWindowDelayStub
-
- All Implemented Interfaces:
IMainWindow
,MainWindow
public class MainWindowDelayStub extends java.lang.Object implements MainWindow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static interface
MainWindowDelayStub.Fixup
private static interface
MainWindowDelayStub.Fixup2
private static interface
MainWindowDelayStub.Fixup3
private static interface
MainWindowDelayStub.Fixup4
private class
MainWindowDelayStub.UIFunctionsSWTImpl
-
Field Summary
Fields Modifier and Type Field Description private Core
core
private AESemaphore
core_sem
private UIFunctionsSWT
delayed_uif
private org.eclipse.swt.widgets.Display
display
private IUIIntializer
initialiser
private MainWindow
main_window
private org.eclipse.swt.widgets.Shell
shell
private SystemTraySWT
swt_tray
private UIManagerEventListener
ui_listener
-
Fields inherited from interface com.biglybt.ui.swt.mainwindow.IMainWindow
WINDOW_CLIENT_AREA, WINDOW_CONTENT_DISPLAY_AREA, WINDOW_ELEMENT_MENU, WINDOW_ELEMENT_QUICK_LINKS, WINDOW_ELEMENT_STATUSBAR, WINDOW_ELEMENT_TOOLBAR, WINDOW_ELEMENT_TOPBAR
-
-
Constructor Summary
Constructors Constructor Description MainWindowDelayStub(Core _core, org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer)
MainWindowDelayStub(org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkMainWindow()
boolean
dispose(boolean for_restart)
void
disposeOnlyUI()
private void
fixup(MainWindowDelayStub.Fixup f)
private java.lang.Object
fixup(MainWindowDelayStub.Fixup2 f)
private void
fixup(MainWindowDelayStub.Fixup3 f)
private java.lang.Object
fixup(MainWindowDelayStub.Fixup4 f)
boolean
getHideAll()
IMainMenu
getMainMenu()
IMainStatusBar
getMainStatusBar()
org.eclipse.swt.graphics.Rectangle
getMetrics(int windowElement)
org.eclipse.swt.widgets.Shell
getShell()
UISWTInstanceImpl
getUISWTInstanceImpl()
private void
init()
void
init(Core _core)
boolean
isReady()
boolean
isVisible(int windowElement)
private void
log(java.lang.String str)
void
setHideAll(boolean hide)
void
setSelectedLanguageItem()
void
setVisible(boolean visible, boolean tryTricks)
void
setVisible(int windowElement, boolean value)
-
-
-
Field Detail
-
display
private org.eclipse.swt.widgets.Display display
-
initialiser
private IUIIntializer initialiser
-
shell
private org.eclipse.swt.widgets.Shell shell
-
core
private Core core
-
core_sem
private AESemaphore core_sem
-
main_window
private volatile MainWindow main_window
-
swt_tray
private SystemTraySWT swt_tray
-
delayed_uif
private volatile UIFunctionsSWT delayed_uif
-
ui_listener
private UIManagerEventListener ui_listener
-
-
Constructor Detail
-
MainWindowDelayStub
public MainWindowDelayStub(Core _core, org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer)
-
MainWindowDelayStub
public MainWindowDelayStub(org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer)
-
-
Method Detail
-
init
private void init()
-
log
private void log(java.lang.String str)
-
init
public void init(Core _core)
- Specified by:
init
in interfaceMainWindow
-
disposeOnlyUI
public void disposeOnlyUI()
- Specified by:
disposeOnlyUI
in interfaceMainWindow
-
checkMainWindow
private void checkMainWindow()
-
fixup
private void fixup(MainWindowDelayStub.Fixup f)
-
fixup
private java.lang.Object fixup(MainWindowDelayStub.Fixup2 f)
-
fixup
private void fixup(MainWindowDelayStub.Fixup3 f)
-
fixup
private java.lang.Object fixup(MainWindowDelayStub.Fixup4 f)
-
getShell
public org.eclipse.swt.widgets.Shell getShell()
- Specified by:
getShell
in interfaceMainWindow
-
getMainMenu
public IMainMenu getMainMenu()
- Specified by:
getMainMenu
in interfaceMainWindow
-
getMainStatusBar
public IMainStatusBar getMainStatusBar()
- Specified by:
getMainStatusBar
in interfaceMainWindow
-
isReady
public boolean isReady()
- Specified by:
isReady
in interfaceMainWindow
-
setVisible
public void setVisible(boolean visible, boolean tryTricks)
- Specified by:
setVisible
in interfaceMainWindow
-
getUISWTInstanceImpl
public UISWTInstanceImpl getUISWTInstanceImpl()
- Specified by:
getUISWTInstanceImpl
in interfaceMainWindow
-
setSelectedLanguageItem
public void setSelectedLanguageItem()
- Specified by:
setSelectedLanguageItem
in interfaceMainWindow
-
dispose
public boolean dispose(boolean for_restart)
- Specified by:
dispose
in interfaceMainWindow
-
isVisible
public boolean isVisible(int windowElement)
- Specified by:
isVisible
in interfaceIMainWindow
-
setVisible
public void setVisible(int windowElement, boolean value)
- Specified by:
setVisible
in interfaceIMainWindow
-
setHideAll
public void setHideAll(boolean hide)
- Specified by:
setHideAll
in interfaceMainWindow
-
getHideAll
public boolean getHideAll()
- Specified by:
getHideAll
in interfaceMainWindow
-
getMetrics
public org.eclipse.swt.graphics.Rectangle getMetrics(int windowElement)
- Specified by:
getMetrics
in interfaceIMainWindow
-
-