@Override
    public boolean isClosable(@NotNull TabInfo tab) {
      List<Content> gridContents = ((GridImpl)tab.getComponent()).getContents();
      return gridContents.size() > 0 && gridContents.get(0).isCloseable();
    }
@Override
    public boolean isClosable(@NotNull TabInfo tab)