private native void setCollapsed(ContentPanel panel, boolean collapse) /*-{
panel.@com.sencha.gxt.widget.core.client.ContentPanel::collapsed = collapse;
}-*/;
private void switchPanels(ContentPanel panel) {
LayoutRegion region = getRegion(panel);
BorderLayoutData data = (BorderLayoutData) getLayoutData(panel);
remove(panel);
CollapsePanel cp = (CollapsePanel) panel.getData("collapse");