Package com.biglybt.ui.swt.shells.main
Class MainWindowDelayStub
java.lang.Object
com.biglybt.ui.swt.shells.main.MainWindowDelayStub
- All Implemented Interfaces:
IMainWindow
,MainWindow
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface
private static interface
private static interface
private static interface
private class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Core
private AESemaphore
private UIFunctionsSWT
private org.eclipse.swt.widgets.Display
private IUIIntializer
private MainWindow
private org.eclipse.swt.widgets.Shell
private SystemTraySWT
private UIManagerEventListener
Fields inherited from interface com.biglybt.ui.swt.mainwindow.IMainWindow
WINDOW_CLIENT_AREA, WINDOW_CONTENT_DISPLAY_AREA, WINDOW_ELEMENT_ALL, WINDOW_ELEMENT_MENU, WINDOW_ELEMENT_QUICK_LINKS, WINDOW_ELEMENT_RIGHTBAR, WINDOW_ELEMENT_STATUSBAR, WINDOW_ELEMENT_TOOLBAR, WINDOW_ELEMENT_TOPBAR
-
Constructor Summary
ConstructorsConstructorDescriptionMainWindowDelayStub
(Core _core, org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer) MainWindowDelayStub
(org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
boolean
dispose
(boolean for_restart) void
private void
private Object
private void
private Object
boolean
org.eclipse.swt.graphics.Rectangle
getMetrics
(int windowElement) org.eclipse.swt.widgets.Shell
getShell()
private void
init()
void
boolean
isReady()
boolean
isVisible
(int windowElement) private void
void
setHideAll
(boolean hide) void
void
setVisible
(boolean visible, boolean tryTricks) void
setVisible
(int windowElement, boolean value)
-
Field Details
-
display
private org.eclipse.swt.widgets.Display display -
initialiser
-
shell
private org.eclipse.swt.widgets.Shell shell -
core
-
core_sem
-
main_window
-
swt_tray
-
delayed_uif
-
ui_listener
-
-
Constructor Details
-
MainWindowDelayStub
public MainWindowDelayStub(Core _core, org.eclipse.swt.widgets.Display _display, IUIIntializer _uiInitializer) -
MainWindowDelayStub
-
-
Method Details
-
init
private void init() -
log
-
init
- Specified by:
init
in interfaceMainWindow
-
disposeOnlyUI
public void disposeOnlyUI()- Specified by:
disposeOnlyUI
in interfaceMainWindow
-
checkMainWindow
private void checkMainWindow() -
fixup
-
fixup
-
fixup
-
fixup
-
getShell
public org.eclipse.swt.widgets.Shell getShell()- Specified by:
getShell
in interfaceMainWindow
-
getMainMenu
- Specified by:
getMainMenu
in interfaceMainWindow
-
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
- 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
-