Example #1
0
 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;
 }
Example #2
0
 // Pass-through handlers for the map's shell
 public boolean getMinimized() {
   return mapShell.getMinimized();
 }