private static String getMode(final Shell shell) {
   String result = null;
   if (shell.getMinimized()) {
     result = "minimized";
   } else if (shell.getMaximized() || shell.getFullScreen()) {
     result = "maximized";
   }
   return result;
 }
Beispiel #2
0
 // Pass-through handlers for the map's shell
 public boolean getMinimized() {
   return mapShell.getMinimized();
 }