Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@86981 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-16 16:47:05 +00:00 committed by Giancarlo Panichi
parent f81fa65cc9
commit 6f4b7c8d3c
3 changed files with 15 additions and 16 deletions

View File

@ -98,16 +98,14 @@
<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>
@ -130,8 +128,7 @@
</dependency>
<!--tabular-data-tasks-widget -->
<!--
<dependency>
<!-- <dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-tasks-widget</artifactId>
<version>1.0.0-SNAPSHOT</version>

View File

@ -4,7 +4,7 @@ import org.gcube.portlets.user.td.informationwidget.client.TabularResourceProper
//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;
//import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.Widget;
import com.google.web.bindery.event.shared.EventBus;
import com.sencha.gxt.widget.core.client.FramedPanel;
@ -14,6 +14,7 @@ import com.sencha.gxt.widget.core.client.button.TextButton;
import com.sencha.gxt.widget.core.client.event.BeforeCloseEvent;
import com.sencha.gxt.widget.core.client.event.BeforeCloseEvent.BeforeCloseHandler;
import com.sencha.gxt.widget.core.client.event.SelectEvent;
//import org.gcube.portlets.user.td.taskswidget.client.TdTaskController;
public class ToolBox extends TabPanel {
@ -21,7 +22,7 @@ public class ToolBox extends TabPanel {
protected TabularResourceProperties trProperties;
protected ToolBoxPanel toolBoxPanel;
//protected TdTaskController tdTaskController;
protected DialogBox tdTaskMainWindow;
//protected DialogBox tdTaskMainWindow;
protected FramedPanel taskPanel;
public ToolBox(String name, EventBus eventBus, ToolBoxPanel toolBoxPanel) {
@ -45,7 +46,8 @@ public class ToolBox extends TabPanel {
trProperties=null;
remove(taskPanel);
// remove(tdTaskMainPanel);
tdTaskMainWindow=null;
//tdTaskMainWindow=null;
//tdTaskController=null;
}
@ -98,10 +100,10 @@ public class ToolBox extends TabPanel {
protected void addTdTaskPanel() {
/*tdTaskController = TdTaskController.getInstance();
TdTaskController.bindCommonBus(eventBus);
tdTaskMainWindow = tdTaskController.getWindowTaskMonitor(); // This is main panel
*/
//tdTaskController = TdTaskController.getInstance();
//tdTaskController.bindCommonBus(eventBus);
//tdTaskMainWindow = tdTaskController.getWindowTaskMonitor(); // This is main panel
taskPanel=new FramedPanel();
taskPanel.setHeaderVisible(false);
TextButton buttonTask=new TextButton("Tasks");
@ -109,7 +111,7 @@ public class ToolBox extends TabPanel {
@Override
public void onSelect(SelectEvent event) {
// TODO
//tdTaskMainWindow.show();
}

View File

@ -16,12 +16,12 @@
<!-- Other module inherits -->
<inherits name='com.sencha.gxt.ui.GXT' />
<!-- <inherits name="com.extjs.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' />
<inherits name='org.gcube.portlets.user.td.informationwidget.Information' />
<!-- <inherits name='org.gcube.portlets.user.td.taskswidget.TdTasksWidget' />-->
<!-- <inherits name='org.gcube.portlets.user.td.taskswidget.TdTasksWidget' /> -->
<!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.user.td.toolboxwidget.client.ToolBoxEntry' /> -->