task sharing.. updating
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@69135 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a9aad53480
commit
0a1567cf8f
|
@ -23,7 +23,6 @@ public class WorskpacePortlet {
|
|||
private GxtPathPanel toolBarPathPanel;
|
||||
private GxtGridFilterGroupPanel gridFilterGroupContainer;
|
||||
private GxtSeachAndFilterPanel searchAndFilterContainer;
|
||||
private GxtGridFilterGroupPanel gridFilterContainer;
|
||||
private GxtCardLayoutResultPanel gxtCardLayoutResultPanel;
|
||||
|
||||
public WorskpacePortlet(boolean activeGroup) {
|
||||
|
@ -33,13 +32,12 @@ public class WorskpacePortlet {
|
|||
this.toolBarPathPanel = new GxtPathPanel();
|
||||
this.searchAndFilterContainer = new GxtSeachAndFilterPanel(this.toolBarPathPanel.getToolBarPathPanel());
|
||||
|
||||
this.gridFilterContainer = new GxtGridFilterGroupPanel(false);
|
||||
this.gridFilterGroupContainer = new GxtGridFilterGroupPanel(activeGroup);
|
||||
this.listViewContainer = new GxtListView();
|
||||
this.detailsContainer = new GxtDetailsContainer();
|
||||
|
||||
|
||||
this.gxtCardLayoutResultPanel = new GxtCardLayoutResultPanel(gridFilterContainer, gridFilterGroupContainer, listViewContainer, detailsContainer);
|
||||
this.gxtCardLayoutResultPanel = new GxtCardLayoutResultPanel(gridFilterGroupContainer, listViewContainer, detailsContainer);
|
||||
|
||||
}
|
||||
|
||||
|
@ -82,15 +80,6 @@ public class WorskpacePortlet {
|
|||
return explorerPanel;
|
||||
}
|
||||
|
||||
public GxtGridFilterGroupPanel getGridFilterContainer() {
|
||||
return gridFilterContainer;
|
||||
}
|
||||
|
||||
|
||||
public void setGridFilterContainer(GxtGridFilterGroupPanel gridFilterContainer) {
|
||||
this.gridFilterContainer = gridFilterContainer;
|
||||
}
|
||||
|
||||
public GxtCardLayoutResultPanel getGxtCardLayoutResultPanel() {
|
||||
return gxtCardLayoutResultPanel;
|
||||
}
|
||||
|
|
|
@ -20,19 +20,15 @@ public class GxtCardLayoutResultPanel extends LayoutContainer{
|
|||
|
||||
private CardLayout cardLayout = new CardLayout();
|
||||
private GxtItemsPanel itemPanel;
|
||||
private GxtGridFilterGroupPanel gridFilterViewContainer;
|
||||
private GxtListView iconsViewContainer;
|
||||
private GxtGridFilterGroupPanel gridGroupViewContainer;
|
||||
private ContentPanel activePanel = null;
|
||||
private GxtToolBarItem toolBarItem;
|
||||
|
||||
public GxtCardLayoutResultPanel(
|
||||
GxtGridFilterGroupPanel gridFilterContainer,
|
||||
GxtGridFilterGroupPanel gridFilterGroupContainer,
|
||||
GxtListView listViewContainer,
|
||||
GxtDetailsContainer detailsContainer) {
|
||||
|
||||
this.gridFilterViewContainer = gridFilterContainer;
|
||||
this.iconsViewContainer = listViewContainer;
|
||||
this.gridGroupViewContainer = gridFilterGroupContainer;
|
||||
|
||||
|
@ -43,7 +39,7 @@ public class GxtCardLayoutResultPanel extends LayoutContainer{
|
|||
|
||||
private void instanceItemsPanel(){
|
||||
this.toolBarItem = new GxtToolBarItem(gridGroupViewContainer); //instance toolbar
|
||||
this.itemPanel = new GxtItemsPanel(gridFilterViewContainer, iconsViewContainer, gridGroupViewContainer, toolBarItem);
|
||||
this.itemPanel = new GxtItemsPanel(iconsViewContainer, gridGroupViewContainer, toolBarItem);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -13,13 +13,11 @@ import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
|||
*/
|
||||
public class GxtItemsPanel extends ContentPanel{
|
||||
private GxtToolBarItem toolBarItem;
|
||||
private GxtGridFilterGroupPanel gridFilterViewContainer;
|
||||
private GxtListView iconsViewContainer;
|
||||
private GxtGridFilterGroupPanel gridGroupViewContainer;
|
||||
|
||||
|
||||
public GxtItemsPanel(GxtGridFilterGroupPanel gridFilterViewContainer,GxtListView iconsViewContainer, GxtGridFilterGroupPanel gridGroupViewContainer, GxtToolBarItem toolBarItem) {
|
||||
this.gridFilterViewContainer = gridFilterViewContainer;
|
||||
public GxtItemsPanel(GxtListView iconsViewContainer, GxtGridFilterGroupPanel gridGroupViewContainer, GxtToolBarItem toolBarItem) {
|
||||
this.iconsViewContainer = iconsViewContainer;
|
||||
this.gridGroupViewContainer = gridGroupViewContainer;
|
||||
this.toolBarItem = toolBarItem;
|
||||
|
|
Loading…
Reference in New Issue