Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@96152 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ede69c6404
commit
7d16cfbea5
|
@ -55,6 +55,9 @@
|
|||
<dependent-module archiveName="tabular-data-toolbox-widget-1.1.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-toolbox-widget/tabular-data-toolbox-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-extractcodelist-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-extractcodelist-widget/tabular-data-extractcodelist-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<property name="context-root" value="tabular-data-portlet"/>
|
||||
<property name="java-output-path" value="/tabular-data-portlet/target/tabular-data-portlet-2.0.0-SNAPSHOT/WEB-INF/classes"/>
|
||||
</wb-module>
|
||||
|
|
7
pom.xml
7
pom.xml
|
@ -302,6 +302,13 @@
|
|||
<artifactId>tabular-data-toolbox-widget</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
<!-- tabular-data-extractcodelist-widget -->
|
||||
<dependency>
|
||||
<groupId>org.gcube.portlets.user</groupId>
|
||||
<artifactId>tabular-data-extractcodelist-widget</artifactId>
|
||||
<version>[1.0.0-SNAPSHOT,2.0.0-SNAPSHOT)</version>
|
||||
</dependency>
|
||||
|
||||
<!--tabular-data-tasks-widget -->
|
||||
<dependency>
|
||||
|
|
|
@ -14,6 +14,7 @@ import org.gcube.portlets.user.td.csvexportwidget.client.CSVExportWizardTD;
|
|||
import org.gcube.portlets.user.td.csvimportwidget.client.CSVImportWizardTD;
|
||||
import org.gcube.portlets.user.td.expressionwidget.client.ColumnFilterDialog;
|
||||
import org.gcube.portlets.user.td.expressionwidget.client.MultiColumnFilterDialog;
|
||||
import org.gcube.portlets.user.td.extractcodelistwidget.client.ExtractCodelistWizardTD;
|
||||
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.exception.TDGWTSessionExpiredException;
|
||||
import org.gcube.portlets.user.td.openwidget.client.TDOpen;
|
||||
|
@ -504,6 +505,7 @@ public class TabularDataController {
|
|||
case NORMALIZE:
|
||||
break;
|
||||
case EXTRACTCODELIST:
|
||||
openExtractCodelistWizard();
|
||||
break;
|
||||
case GENERATESUMMARY:
|
||||
break;
|
||||
|
@ -695,6 +697,10 @@ public class TabularDataController {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
protected void openSDMXExportWizard() {
|
||||
GWT.runAsync(new RunAsyncCallback() {
|
||||
|
||||
|
@ -729,7 +735,43 @@ public class TabularDataController {
|
|||
});
|
||||
|
||||
}
|
||||
|
||||
protected void openExtractCodelistWizard() {
|
||||
GWT.runAsync(new RunAsyncCallback() {
|
||||
|
||||
public void onSuccess() {
|
||||
openWizard();
|
||||
ExtractCodelistWizardTD extractCodelistWizard = new ExtractCodelistWizardTD(
|
||||
"Extract Codelist", eventBus);
|
||||
|
||||
extractCodelistWizard.addListener(new WizardListener() {
|
||||
public void failed(Throwable throwable, String reason,
|
||||
String details) {
|
||||
UtilsGXT3.alert(reason, details);
|
||||
resumeUIState();
|
||||
}
|
||||
|
||||
public void completed(TRId id) {
|
||||
openTable(id);
|
||||
|
||||
}
|
||||
|
||||
public void aborted() {
|
||||
resumeUIState();
|
||||
}
|
||||
});
|
||||
|
||||
extractCodelistWizard.show();
|
||||
}
|
||||
|
||||
public void onFailure(Throwable reason) {
|
||||
asyncCodeLoadingFailed(reason);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -282,7 +282,7 @@ public class CurationToolBar {
|
|||
helperGroup.setId("Helper");
|
||||
helperGroup.setStyleName("ribbon");
|
||||
helperGroup.setHeadingText("Helper");
|
||||
helperGroup.disable();
|
||||
helperGroup.enable();
|
||||
toolBar.add(helperGroup);
|
||||
|
||||
FlexTable helperLayout = new FlexTable();
|
||||
|
@ -394,7 +394,7 @@ public class CurationToolBar {
|
|||
tableTypeButton.enable();
|
||||
addColumnButton.disable();
|
||||
deleteColumnButton.enable();
|
||||
extractCodelistButton.disable();
|
||||
extractCodelistButton.enable();
|
||||
generateSummaryButton.disable();
|
||||
break;
|
||||
case WIZARD_OPEN:
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
name='org.gcube.portlets.user.td.csvimportwidget.CSVImportWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.user.td.csvexportwidget.CSVExportWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.user.td.extractcodelistwidget.ExtractCodelistWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
name='org.gcube.portlets.user.td.csvimportwidget.CSVImportWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.user.td.csvexportwidget.CSVExportWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.user.td.extractcodelistwidget.ExtractCodelistWizardTD' />
|
||||
<inherits
|
||||
name='org.gcube.portlets.widgets.lighttree.WorkspacePortletLightTree' />
|
||||
|
||||
|
@ -45,18 +47,18 @@
|
|||
|
||||
<!-- Specify the app entry point class. -->
|
||||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
<!--
|
||||
|
||||
<set-property name="log_DivLogger" value="ENABLED" /> <set-property
|
||||
name="log_ConsoleLogger" value="ENABLED" /> <set-property name="log_FirebugLogger"
|
||||
value="ENABLED" /> <set-property name="log_GWTLogger" value="ENABLED" />
|
||||
<set-property name="log_SystemLogger" value="ENABLED" /> -->
|
||||
<set-property name="log_SystemLogger" value="ENABLED" />
|
||||
|
||||
|
||||
<!--
|
||||
<set-property name="log_DivLogger" value="DISABLED" />
|
||||
<set-property name="log_ConsoleLogger" value="DISABLED" />
|
||||
<set-property name="log_FirebugLogger" value="DISABLED" />
|
||||
<set-property name="log_GWTLogger" value="DISABLED" />
|
||||
<set-property name="log_SystemLogger" value="DISABLED" />
|
||||
<set-property name="log_SystemLogger" value="DISABLED" /> -->
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<source path='client' />
|
||||
<source path='shared' />
|
||||
|
|
Loading…
Reference in New Issue