Class ConfigShell


  • public class ConfigShell
    extends java.lang.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 Detail

      • shell

        private org.eclipse.swt.widgets.Shell shell
    • Constructor Detail

      • ConfigShell

        private ConfigShell()
    • Method Detail

      • getInstance

        public static ConfigShell getInstance()
      • open

        public void open​(java.lang.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​(java.lang.String section)
      • close

        private void close()