Added Statistical Widget
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@100892 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6ce9c382f7
commit
d8b14c1cb2
18
pom.xml
18
pom.xml
|
@ -241,7 +241,7 @@
|
|||
<artifactId>tabular-data-wizard-widget</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- tabular-data-mainbox-widget -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
|
@ -376,7 +376,15 @@
|
|||
<artifactId>tabular-data-map-widget</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- tabular-data-statistical-widget -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-statistical-widget</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--tabular-data-tasks-widget -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
|
@ -397,9 +405,9 @@
|
|||
<artifactId>tabular-data-column-operation</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- LOGGING -->
|
||||
<dependency>
|
||||
<groupId>com.allen-sauer.gwt.log</groupId>
|
||||
|
|
|
@ -28,6 +28,7 @@ import org.gcube.portlets.user.td.openwidget.client.TDOpen;
|
|||
import org.gcube.portlets.user.td.sdmxexportwidget.client.SDMXExportWizardTD;
|
||||
import org.gcube.portlets.user.td.sdmximportwidget.client.SDMXImportWizardTD;
|
||||
import org.gcube.portlets.user.td.sharewidget.client.TRShare;
|
||||
import org.gcube.portlets.user.td.statisticalwidget.client.StatisticalWidget;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.CloneTabularResource;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.history.HistoryDiscard;
|
||||
import org.gcube.portlets.user.td.tablewidget.client.rows.DeleteRows;
|
||||
|
@ -839,6 +840,7 @@ public class TabularDataController {
|
|||
case RSTUDIO:
|
||||
break;
|
||||
case STATISTICAL:
|
||||
openStatistical();
|
||||
break;
|
||||
case SPREAD:
|
||||
break;
|
||||
|
@ -1407,7 +1409,17 @@ public class TabularDataController {
|
|||
HistoryDiscard historyDiscard = new HistoryDiscard(eventBus);
|
||||
historyDiscard.discard();
|
||||
}
|
||||
|
||||
|
||||
protected void openStatistical() {
|
||||
@SuppressWarnings("unused")
|
||||
StatisticalWidget statisticalWidget= new StatisticalWidget(trId, eventBus);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected void openTemplateApply() {
|
||||
Log.debug("Template Apply call");
|
||||
if (trId != null) {
|
||||
|
|
|
@ -332,7 +332,7 @@ public class AnalyseToolBar {
|
|||
processGroup.setId("Process");
|
||||
processGroup.setStyleName("ribbon");
|
||||
processGroup.setHeadingText("Process");
|
||||
processGroup.disable();
|
||||
processGroup.enable();
|
||||
toolBar.add(processGroup);
|
||||
|
||||
FlexTable processLayout = new FlexTable();
|
||||
|
@ -340,6 +340,7 @@ public class AnalyseToolBar {
|
|||
|
||||
rstudioButton = new TextButton("R Studio",
|
||||
TabularDataResources.INSTANCE.rstudio32());
|
||||
rstudioButton.disable();
|
||||
rstudioButton.setScale(ButtonScale.LARGE);
|
||||
rstudioButton.setIconAlign(IconAlign.TOP);
|
||||
rstudioButton.setToolTip("R Studio");
|
||||
|
@ -357,6 +358,7 @@ public class AnalyseToolBar {
|
|||
|
||||
statisticalButton = new TextButton("Statistical",
|
||||
TabularDataResources.INSTANCE.statistical32());
|
||||
statisticalButton.disable();
|
||||
statisticalButton.setScale(ButtonScale.LARGE);
|
||||
statisticalButton.setIconAlign(IconAlign.TOP);
|
||||
statisticalButton.setToolTip("Statistical");
|
||||
|
@ -364,8 +366,8 @@ public class AnalyseToolBar {
|
|||
statisticalButton.addSelectHandler(new SelectHandler() {
|
||||
|
||||
public void onSelect(SelectEvent event) {
|
||||
// eventBus.fireEvent(new
|
||||
// RibbonEvent(RibbonType.TABLEAGGREAGETE));
|
||||
eventBus.fireEvent(new
|
||||
RibbonEvent(RibbonType.STATISTICAL));
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -374,6 +376,7 @@ public class AnalyseToolBar {
|
|||
|
||||
spreadButton = new TextButton("SPREAD",
|
||||
TabularDataResources.INSTANCE.cog32());
|
||||
spreadButton.disable();
|
||||
spreadButton.setScale(ButtonScale.LARGE);
|
||||
spreadButton.setIconAlign(IconAlign.TOP);
|
||||
spreadButton.setToolTip("SPREAD");
|
||||
|
@ -448,18 +451,22 @@ public class AnalyseToolBar {
|
|||
switch (uiStateType) {
|
||||
case START:
|
||||
gisButton.disable();
|
||||
statisticalButton.disable();
|
||||
break;
|
||||
case TR_CLOSE:
|
||||
case TR_READONLY:
|
||||
gisButton.disable();
|
||||
statisticalButton.disable();
|
||||
break;
|
||||
case TR_OPEN:
|
||||
case TABLEUPDATE:
|
||||
case TABLECURATION:
|
||||
gisButton.enable();
|
||||
statisticalButton.enable();
|
||||
break;
|
||||
case WIZARD_OPEN:
|
||||
gisButton.disable();
|
||||
statisticalButton.disable();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
@ -48,7 +48,8 @@
|
|||
name='org.gcube.portlets.user.td.codelistmappingimportwidget.CodelistMappingImportWizardTD' />
|
||||
<inherits name='org.gcube.portlets.user.td.unionwizardwidget.UnionWizardTD' />
|
||||
<inherits name='org.gcube.portlets.user.td.mapwidget.MapWidgetTD' />
|
||||
|
||||
<inherits name='org.gcube.portlets.user.td.statisticalwidget.StatisticalWidget' />
|
||||
|
||||
|
||||
<inherits
|
||||
name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
name='org.gcube.portlets.user.td.codelistmappingimportwidget.CodelistMappingImportWizardTD' />
|
||||
<inherits name='org.gcube.portlets.user.td.unionwizardwidget.UnionWizardTD' />
|
||||
<inherits name='org.gcube.portlets.user.td.mapwidget.MapWidgetTD' />
|
||||
<inherits name='org.gcube.portlets.user.td.statisticalwidget.StatisticalWidget' />
|
||||
|
||||
<inherits
|
||||
name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
||||
|
|
Loading…
Reference in New Issue