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:
Francesco Mangiacrapa 2013-02-12 15:02:16 +00:00
parent a9aad53480
commit 0a1567cf8f
3 changed files with 4 additions and 21 deletions

View File

@ -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);
}
@ -81,16 +79,7 @@ public class WorskpacePortlet {
public ExplorerPanel getExplorerPanel() {
return explorerPanel;
}
public GxtGridFilterGroupPanel getGridFilterContainer() {
return gridFilterContainer;
}
public void setGridFilterContainer(GxtGridFilterGroupPanel gridFilterContainer) {
this.gridFilterContainer = gridFilterContainer;
}
public GxtCardLayoutResultPanel getGxtCardLayoutResultPanel() {
return gxtCardLayoutResultPanel;
}

View File

@ -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);
}

View File

@ -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;