private static void readMode(final Shell shell, final String mode) {
   if (mode != null) {
     if ("maximized".equals(mode)) {
       shell.setMaximized(true);
     } else if ("minimized".equals(mode)) {
       shell.setMinimized(true);
     } else {
       shell.setMinimized(false);
       shell.setMaximized(false);
     }
   }
 }
Beispiel #2
0
 public void setMinimized(boolean minimized) {
   mapShell.setMinimized(minimized);
 }