Class ConfigShell

java.lang.Object
com.biglybt.ui.swt.views.ConfigShell

public class ConfigShell extends Object
A shell containing the ConfigView 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 Details

    • instance

      private static ConfigShell instance
    • shell

      private org.eclipse.swt.widgets.Shell shell
    • swtView

      private UISWTViewImpl swtView
  • Constructor Details

    • ConfigShell

      private ConfigShell()
  • Method Details

    • getInstance

      public static ConfigShell getInstance()
    • open

      public void open(String section)
      Opens the ConfigView inside a pop-up Shell. If the Shell is opened already then just force it active
      Parameters:
      width -
      height -
    • swt_open

      public void swt_open(String section)
    • close

      private void close()