public void closeTab(final TabConfig tabConfig) {
        final TabLayoutConfig tabLayoutConfig = tabConfig.getParent();
        tabLayoutConfig.remove(tabConfig);

        // Cascade removal if necessary.
        cascadeRemoval(tabLayoutConfig);

        // Clear and refresh the layout.
        clear();
        refresh();

        changeHandler.onDirty();
    }
Convenience method to transfer position and size data to an element.
stroom-core-client/src/main/java/stroom/dashboard/client/flexlayout/FlexLayout.java