private Shell getLimboShell() {
    if (limbo == null) {
      limbo = new Shell(Display.getCurrent(), SWT.NONE);

      // Place the limbo shell 'off screen'
      limbo.setLocation(0, 10000);

      limbo.setBackgroundMode(SWT.INHERIT_DEFAULT);
      limbo.setData(ShellActivationListener.DIALOG_IGNORE_KEY, Boolean.TRUE);
    }
    return limbo;
  }
Exemple #2
0
 public void setData(String key, Object value) {
   shell.setData(key, value);
 }