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:
parent
0907699462
commit
e108cb95c7
6
pom.xml
6
pom.xml
|
@ -104,6 +104,12 @@
|
|||
<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>
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
||||
|
|
|
@ -14,12 +14,10 @@ public class ToolBoxEntry implements EntryPoint {
|
|||
|
||||
EventBus eventBus = new SimpleEventBus();
|
||||
|
||||
ToolBox trProperties = new ToolBox(
|
||||
"TRProperties", eventBus);
|
||||
ToolBox toolBox = new ToolBox("ToolBox", eventBus);
|
||||
|
||||
trProperties.setHeadingText("Tabular Resource Properties");
|
||||
RootPanel.get().add(trProperties);
|
||||
Log.info("" + trProperties);
|
||||
RootPanel.get().add(toolBox);
|
||||
Log.info("" + toolBox);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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' /> -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue