Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@86928 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-13 16:49:15 +00:00 committed by Giancarlo Panichi
parent d1150338f0
commit ae9c63f9d2
3 changed files with 22 additions and 8 deletions

15
pom.xml
View File

@ -98,10 +98,21 @@
<scope>test</scope>
</dependency>
<!--
<dependency>
<groupId>com.sencha.gxt</groupId>
<artifactId>gxt</artifactId>
<version>2.2.5</version>
<scope>provided</scope>
</dependency>
-->
<dependency>
<groupId>com.sencha.gxt</groupId>
<artifactId>gxt</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<!-- tabular-data-widget-common-event -->
@ -119,12 +130,14 @@
</dependency>
<!--tabular-data-tasks-widget -->
<!--
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-tasks-widget</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
-->
<!-- LOGGING -->
<dependency>
<groupId>com.allen-sauer.gwt.log</groupId>

View File

@ -1,7 +1,7 @@
package org.gcube.portlets.user.td.toolboxwidget.client;
import org.gcube.portlets.user.td.informationwidget.client.TabularResourceProperties;
import org.gcube.portlets.user.td.taskswidget.client.TdTaskController;
//import org.gcube.portlets.user.td.taskswidget.client.TdTaskController;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.client.ui.DialogBox;
@ -20,7 +20,7 @@ public class ToolBox extends TabPanel {
protected EventBus eventBus;
protected TabularResourceProperties trProperties;
protected ToolBoxPanel toolBoxPanel;
protected TdTaskController tdTaskController;
//protected TdTaskController tdTaskController;
protected DialogBox tdTaskMainWindow;
protected FramedPanel taskPanel;
@ -46,7 +46,7 @@ public class ToolBox extends TabPanel {
remove(taskPanel);
// remove(tdTaskMainPanel);
tdTaskMainWindow=null;
tdTaskController=null;
//tdTaskController=null;
}
public void updateTabs() {
@ -54,11 +54,11 @@ public class ToolBox extends TabPanel {
if (trProperties != null) {
trProperties.update();
}
if(tdTaskController!=null){
/*if(tdTaskController!=null){
if(tdTaskMainWindow!=null){
tdTaskController.updateTasks(true);
}
}
}*/
}
@ -98,10 +98,10 @@ public class ToolBox extends TabPanel {
protected void addTdTaskPanel() {
tdTaskController = TdTaskController.getInstance();
/*tdTaskController = TdTaskController.getInstance();
TdTaskController.bindCommonBus(eventBus);
tdTaskMainWindow = tdTaskController.getWindowTaskMonitor(); // This is main panel
*/
taskPanel=new FramedPanel();
taskPanel.setHeaderVisible(false);
TextButton buttonTask=new TextButton("Tasks");

View File

@ -16,6 +16,7 @@
<!-- Other module inherits -->
<inherits name='com.sencha.gxt.ui.GXT' />
<!-- <inherits name="com.extjs.gxt.ui.GXT" /> -->
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<inherits name='org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEvent' />