Package com.biglybt.ui.swt.views
Class ConfigShell
- java.lang.Object
-
- com.biglybt.ui.swt.views.ConfigShell
-
public class ConfigShell extends java.lang.Object
A shell containing theConfigView
This is used to pop-up the configs in a Shell as opposed to hosting it in the application This class is used to ensure that only one shell is opened at any time.
-
-
Field Summary
Fields Modifier and Type Field Description private static ConfigShell
instance
private org.eclipse.swt.widgets.Shell
shell
private UISWTViewImpl
swtView
-
Constructor Summary
Constructors Modifier Constructor Description private
ConfigShell()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
close()
static ConfigShell
getInstance()
void
open(java.lang.String section)
Opens theConfigView
inside a pop-upShell
.void
swt_open(java.lang.String section)
-
-
-
Field Detail
-
instance
private static ConfigShell instance
-
shell
private org.eclipse.swt.widgets.Shell shell
-
swtView
private UISWTViewImpl swtView
-
-
Method Detail
-
getInstance
public static ConfigShell getInstance()
-
open
public void open(java.lang.String section)
Opens theConfigView
inside a pop-upShell
. If the Shell is opened already then just force it active- Parameters:
width
-height
-
-
swt_open
public void swt_open(java.lang.String section)
-
close
private void close()
-
-