diff --git a/pom.xml b/pom.xml
index 7dcfa5d..c0e9b4f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -103,7 +103,13 @@
gxt
3.0.1
-
+
+
+
+ org.gcube.portlets.user
+ tabular-data-widget-common-event
+ 1.0.0-SNAPSHOT
+
diff --git a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBox.java b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBox.java
index bfb0b66..b925c4e 100644
--- a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBox.java
+++ b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBox.java
@@ -1,12 +1,16 @@
package org.gcube.portlets.user.td.toolboxwidget.client;
import com.google.web.bindery.event.shared.EventBus;
-import com.sencha.gxt.widget.core.client.FramedPanel;
+import com.sencha.gxt.widget.core.client.TabPanel;
+import org.gcube.portlets.user.td.toolboxwidget.client.ToolBox;
-public class ToolBox extends FramedPanel {
+public class ToolBox extends TabPanel {
+
+ private EventBus eventBus;
public ToolBox(String name, EventBus eventBus) {
super();
+ this.eventBus=eventBus;
setId(name);
diff --git a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxEntry.java b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxEntry.java
index b600bd5..72a5f08 100644
--- a/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxEntry.java
+++ b/src/main/java/org/gcube/portlets/user/td/toolboxwidget/client/ToolBoxEntry.java
@@ -14,12 +14,10 @@ public class ToolBoxEntry implements EntryPoint {
EventBus eventBus = new SimpleEventBus();
- ToolBox trProperties = new ToolBox(
- "TRProperties", eventBus);
-
- trProperties.setHeadingText("Tabular Resource Properties");
- RootPanel.get().add(trProperties);
- Log.info("" + trProperties);
+ ToolBox toolBox = new ToolBox("ToolBox", eventBus);
+
+ RootPanel.get().add(toolBox);
+ Log.info("" + toolBox);
}
}
diff --git a/src/main/resources/org/gcube/portlets/user/td/toolboxwidget/ToolBox.gwt.xml b/src/main/resources/org/gcube/portlets/user/td/toolboxwidget/ToolBox.gwt.xml
index e7f2437..d157f94 100644
--- a/src/main/resources/org/gcube/portlets/user/td/toolboxwidget/ToolBox.gwt.xml
+++ b/src/main/resources/org/gcube/portlets/user/td/toolboxwidget/ToolBox.gwt.xml
@@ -18,6 +18,8 @@
+
+