Minor updated
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@86544 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
00fae771e9
commit
48e635ad74
7
pom.xml
7
pom.xml
|
@ -200,6 +200,13 @@
|
||||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- tabular-data-sdmx-export-widget -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
|
<artifactId>tabular-data-sdmx-export-widget</artifactId>
|
||||||
|
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!--tabular-data-information-widget -->
|
<!--tabular-data-information-widget -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
<groupId>org.gcube.portlets.user</groupId>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
*/
|
*/
|
||||||
package org.gcube.portlets.user.td.client;
|
package org.gcube.portlets.user.td.client;
|
||||||
|
|
||||||
|
import org.gcube.portlets.user.td.sdmxexportwidget.client.SDMXExportWizardTD;
|
||||||
import org.gcube.portlets.user.td.sdmximportwidget.client.SDMXImportWizardTD;
|
import org.gcube.portlets.user.td.sdmximportwidget.client.SDMXImportWizardTD;
|
||||||
import org.gcube.portlets.user.td.wizardwidget.client.WizardListener;
|
import org.gcube.portlets.user.td.wizardwidget.client.WizardListener;
|
||||||
|
|
||||||
|
@ -365,34 +366,44 @@ public class TabularDataController {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void openSDMXExportWizard() {
|
protected void openSDMXExportWizard() {
|
||||||
/*
|
GWT.runAsync(new RunAsyncCallback() {
|
||||||
* GWT.runAsync(new RunAsyncCallback() {
|
|
||||||
*
|
@Override
|
||||||
* @Override public void onSuccess() { SDMXExportWizardTD exportWizard =
|
public void onSuccess() {
|
||||||
* new SDMXExportWizardTD( "SDMX Export");
|
openWizard();
|
||||||
*
|
SDMXExportWizardTD exportWizard = new SDMXExportWizardTD(
|
||||||
* exportWizard .addListener(new
|
"SDMX Export");
|
||||||
* org.gcube.portlets.user.sdmxexportwizardtd
|
|
||||||
* .client.general.WizardListener() {
|
exportWizard.addListener(new WizardListener() {
|
||||||
*
|
@Override
|
||||||
* @Override public void failed(Throwable throwable, String reason,
|
public void failed(Throwable throwable, String reason,
|
||||||
* String details) {
|
String details) {
|
||||||
*
|
alertMessage(reason, details);
|
||||||
* }
|
resumeUIState();
|
||||||
*
|
}
|
||||||
* @Override public void completed(TRId id) {
|
|
||||||
*
|
@Override
|
||||||
* }
|
public void completed(TRId id) {
|
||||||
*
|
resumeUIState();
|
||||||
* @Override public void aborted() {
|
|
||||||
*
|
}
|
||||||
* } });
|
|
||||||
*
|
@Override
|
||||||
* exportWizard.show(); }
|
public void aborted() {
|
||||||
*
|
resumeUIState();
|
||||||
* @Override public void onFailure(Throwable reason) {
|
}
|
||||||
* asyncCodeLoadingFailed(reason); } });
|
});
|
||||||
*/
|
|
||||||
|
exportWizard.show();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFailure(Throwable reason) {
|
||||||
|
asyncCodeLoadingFailed(reason);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -334,7 +334,7 @@ public class FileToolBar {
|
||||||
importSDMXButton.enable();
|
importSDMXButton.enable();
|
||||||
exportCSVButton.enable();
|
exportCSVButton.enable();
|
||||||
exportJSONButton.disable();
|
exportJSONButton.disable();
|
||||||
exportSDMXButton.disable();
|
exportSDMXButton.enable();
|
||||||
break;
|
break;
|
||||||
case WIZARD_OPEN:
|
case WIZARD_OPEN:
|
||||||
openButton.disable();
|
openButton.disable();
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<inherits name='org.gcube.portlets.user.td.informationwidget.Information' />
|
<inherits name='org.gcube.portlets.user.td.informationwidget.Information' />
|
||||||
<inherits name='org.gcube.portlets.user.td.openwidget.TDOpen' />
|
<inherits name='org.gcube.portlets.user.td.openwidget.TDOpen' />
|
||||||
<inherits name='org.gcube.portlets.user.td.sdmximportwidget.SDMXImportWizardTD' />
|
<inherits name='org.gcube.portlets.user.td.sdmximportwidget.SDMXImportWizardTD' />
|
||||||
<!-- <inherits name='org.gcube.portlets.user.td.sdmxexportwidget.SDMXExportWizardTD' /> -->
|
<inherits name='org.gcube.portlets.user.td.sdmxexportwidget.SDMXExportWizardTD' />
|
||||||
<inherits name='org.gcube.portlets.user.td.csvimportwidget.CSVImportWizardTD' />
|
<inherits name='org.gcube.portlets.user.td.csvimportwidget.CSVImportWizardTD' />
|
||||||
<inherits name='org.gcube.portlets.user.td.csvexportwidget.CSVExportWizardTD' />
|
<inherits name='org.gcube.portlets.user.td.csvexportwidget.CSVExportWizardTD' />
|
||||||
<inherits name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
<inherits name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<servlet-class>org.gcube.portlets.user.tdw.server.TabularDataServlet</servlet-class>
|
<servlet-class>org.gcube.portlets.user.tdw.server.TabularDataServlet</servlet-class>
|
||||||
</servlet>
|
</servlet>
|
||||||
|
|
||||||
<!-- TD GXTService -->
|
<!-- TD GWTService -->
|
||||||
<servlet>
|
<servlet>
|
||||||
<servlet-name>TDGWTService</servlet-name>
|
<servlet-name>TDGWTService</servlet-name>
|
||||||
<servlet-class>org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl</servlet-class>
|
<servlet-class>org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl</servlet-class>
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
<url-pattern>/tabulardataportlet/tdwdata</url-pattern>
|
<url-pattern>/tabulardataportlet/tdwdata</url-pattern>
|
||||||
</servlet-mapping>
|
</servlet-mapping>
|
||||||
|
|
||||||
<!-- TD GXTService -->
|
<!-- TD GWTService -->
|
||||||
<servlet-mapping>
|
<servlet-mapping>
|
||||||
<servlet-name>TDGWTService</servlet-name>
|
<servlet-name>TDGWTService</servlet-name>
|
||||||
<url-pattern>/tabulardataportlet/TDGWTService</url-pattern>
|
<url-pattern>/tabulardataportlet/TDGWTService</url-pattern>
|
||||||
|
|
Loading…
Reference in New Issue