|
|
@ -4,6 +4,7 @@ import org.gcube.portlets.user.workspace.client.ConstantsPortlet.ViewSwitchTypeI
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.GxtListView;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.GxtListView;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.grids.GxtGridFilterGroupPanel;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.grids.GxtGridFilterGroupPanel;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBottomToolBarItem;
|
|
|
|
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtBreadcrumbPathPanel;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtToolBarItemFunctionality;
|
|
|
|
import org.gcube.portlets.user.workspace.client.view.toolbars.GxtToolBarItemFunctionality;
|
|
|
|
|
|
|
|
|
|
|
|
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
|
|
|
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
|
|
@ -26,21 +27,23 @@ public class GxtCardLayoutResultPanel extends LayoutContainer{
|
|
|
|
private ContentPanel activePanel = null;
|
|
|
|
private ContentPanel activePanel = null;
|
|
|
|
private GxtToolBarItemFunctionality toolBarItemFunct;
|
|
|
|
private GxtToolBarItemFunctionality toolBarItemFunct;
|
|
|
|
private GxtBottomToolBarItem toolBarItemDetails;
|
|
|
|
private GxtBottomToolBarItem toolBarItemDetails;
|
|
|
|
|
|
|
|
private GxtBreadcrumbPathPanel breadcrumbPanel;
|
|
|
|
|
|
|
|
|
|
|
|
public GxtCardLayoutResultPanel(
|
|
|
|
public GxtCardLayoutResultPanel(
|
|
|
|
GxtGridFilterGroupPanel gridFilterGroupContainer,
|
|
|
|
GxtGridFilterGroupPanel gridFilterGroupContainer,
|
|
|
|
GxtListView listViewContainer,
|
|
|
|
GxtListView listViewContainer,
|
|
|
|
GxtBottomToolBarItem toolBarItemDetails) {
|
|
|
|
GxtBottomToolBarItem toolBarItemDetails, GxtBreadcrumbPathPanel toolBarPathPanel) {
|
|
|
|
this.iconsViewContainer = listViewContainer;
|
|
|
|
this.iconsViewContainer = listViewContainer;
|
|
|
|
this.gridGroupViewContainer = gridFilterGroupContainer;
|
|
|
|
this.gridGroupViewContainer = gridFilterGroupContainer;
|
|
|
|
this.toolBarItemDetails = toolBarItemDetails;
|
|
|
|
this.toolBarItemDetails = toolBarItemDetails;
|
|
|
|
|
|
|
|
this.breadcrumbPanel = toolBarPathPanel;
|
|
|
|
|
|
|
|
|
|
|
|
instanceItemsPanel();
|
|
|
|
instanceItemsPanel();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void instanceItemsPanel(){
|
|
|
|
private void instanceItemsPanel(){
|
|
|
|
this.toolBarItemFunct = new GxtToolBarItemFunctionality(gridGroupViewContainer); //instance toolbar
|
|
|
|
this.toolBarItemFunct = new GxtToolBarItemFunctionality(gridGroupViewContainer, breadcrumbPanel); //instance toolbar
|
|
|
|
this.itemPanel = new GxtItemsPanel(iconsViewContainer, gridGroupViewContainer, toolBarItemFunct, toolBarItemDetails);
|
|
|
|
this.itemPanel = new GxtItemsPanel(iconsViewContainer, gridGroupViewContainer, toolBarItemFunct, toolBarItemDetails);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|