Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-toolbox-widget@86810 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-11 08:43:57 +00:00 committed by Giancarlo Panichi
parent 0907699462
commit e108cb95c7
4 changed files with 19 additions and 9 deletions

View File

@ -103,7 +103,13 @@
<artifactId>gxt</artifactId>
<version>3.0.1</version>
</dependency>
<!-- tabular-data-widget-common-event -->
<dependency>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>tabular-data-widget-common-event</artifactId>
<version>1.0.0-SNAPSHOT</version>
</dependency>
<!-- LOGGING -->
<dependency>

View File

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

View File

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

View File

@ -18,6 +18,8 @@
<inherits name='com.sencha.gxt.ui.GXT' />
<inherits name="com.allen_sauer.gwt.log.gwt-log-TRACE" />
<inherits name='org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEvent' />
<!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.user.td.toolboxwidget.client.ToolBoxEntry' /> -->