ref #9056:TabMan - Improve resource management in TabMan

https://support.d4science.org/issues/9056

Improve resources management

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-mainbox-widget@152491 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2017-08-04 13:07:20 +00:00 committed by Giancarlo Panichi
parent 6c93024d70
commit 0025c4b43b
3 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,8 @@
<ReleaseNotes> <ReleaseNotes>
<Changeset component="org.gcube.portlets-user.tabular-data-mainbox-widget.1-7-0"
date="2017-07-01">
<Change>Updated resources management [Ticket #9056]</Change>
</Changeset>
<Changeset component="org.gcube.portlets-user.tabular-data-mainbox-widget.1-6-0" <Changeset component="org.gcube.portlets-user.tabular-data-mainbox-widget.1-6-0"
date="2017-06-12"> date="2017-06-12">
<Change>Support Java 8 compatibility [ticket #8580]</Change> <Change>Support Java 8 compatibility [ticket #8580]</Change>

View File

@ -14,7 +14,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.portlets.user</groupId> <groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-mainbox-widget</artifactId> <artifactId>tabular-data-mainbox-widget</artifactId>
<version>1.6.0-SNAPSHOT</version> <version>1.7.0-SNAPSHOT</version>
<name>tabular-data-mainbox-widget</name> <name>tabular-data-mainbox-widget</name>
<description>tabular-data-mainbox-widget implements a tab panel to shows resources and table</description> <description>tabular-data-mainbox-widget implements a tab panel to shows resources and table</description>

View File

@ -1,7 +1,7 @@
package org.gcube.portlets.user.td.mainboxwidget.client.tdx; package org.gcube.portlets.user.td.mainboxwidget.client.tdx;
import org.gcube.portlets.user.td.mainboxwidget.client.resources.MainboxResources; import org.gcube.portlets.user.td.mainboxwidget.client.resources.MainboxResources;
import org.gcube.portlets.user.td.resourceswidget.client.ResourcesListViewPanel; import org.gcube.portlets.user.td.resourceswidget.client.ResourcesPanel;
import org.gcube.portlets.user.td.widgetcommonevent.shared.dataview.TabularResourceDataView; import org.gcube.portlets.user.td.widgetcommonevent.shared.dataview.TabularResourceDataView;
import org.gcube.portlets.user.tdwx.client.TabularDataX; import org.gcube.portlets.user.tdwx.client.TabularDataX;
@ -11,12 +11,18 @@ import com.google.web.bindery.event.shared.EventBus;
import com.sencha.gxt.widget.core.client.TabItemConfig; import com.sencha.gxt.widget.core.client.TabItemConfig;
import com.sencha.gxt.widget.core.client.TabPanel; import com.sencha.gxt.widget.core.client.TabPanel;
/**
*
* @author Giancarlo Panichi
*
*/
public class TDXTabPanel extends TabPanel { public class TDXTabPanel extends TabPanel {
private static final int TAB_WIDTH = 96; private static final int TAB_WIDTH = 96;
private EventBus eventBus; private EventBus eventBus;
private TDXGridPanel gridPanel; private TDXGridPanel gridPanel;
private ResourcesListViewPanel resourcesPanel; //private ResourcesListViewPanel resourcesPanel;
private ResourcesPanel resourcesPanel;
private TDXTabPanelMessages msgs; private TDXTabPanelMessages msgs;
@ -60,7 +66,8 @@ public class TDXTabPanel extends TabPanel {
.resources()); .resources());
resourcesPanel = new ResourcesListViewPanel(eventBus); //resourcesPanel = new ResourcesListViewPanel(eventBus);
resourcesPanel = new ResourcesPanel(eventBus);
add(resourcesPanel, resourcesItemConf); add(resourcesPanel, resourcesItemConf);