コード例 #1
0
  public void perform(DockingWindow window) {
    TabWindow tabWindow = DockingUtil.getTabWindowFor(window);

    if (tabWindow != null && !tabWindow.isMaximized() && tabWindow.isMaximizable())
      tabWindow.maximize();
  }
コード例 #2
0
  public boolean isPerformable(DockingWindow window) {
    if (!window.isMaximizable()) return false;

    TabWindow tabWindow = DockingUtil.getTabWindowFor(window);
    return tabWindow != null && !tabWindow.isMaximized() && tabWindow.isMaximizable();
  }