Added Change Table Type
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@92303 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
bcfc442aa1
commit
c5b06fac1f
|
@ -4,12 +4,30 @@
|
|||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||
<dependent-module archiveName="tabular-data-expression-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-expression-widget/tabular-data-expression-widget">
|
||||
<dependent-module archiveName="tabular-data-widgetx-tdx-source-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widgetx-tdx-source/tabular-data-widgetx-tdx-source">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-widgetx-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widgetx/tabular-data-widgetx">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-widget-common-event-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-widget-common-event/tabular-data-widget-common-event">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-gwt-service-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-gwt-service/tabular-data-gwt-service">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-sdmx-export-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-sdmx-export-widget/tabular-data-sdmx-export-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-toolbox-widget-1.0.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-information-widget-2.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-information-widget/tabular-data-information-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-metadata-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-metadata-widget/tabular-data-metadata-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="tabular-data-column-widget-1.0.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/tabular-data-column-widget/tabular-data-column-widget">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
|
|
@ -320,6 +320,7 @@ public class TabularDataController {
|
|||
case TEMPLATEAPPLY:
|
||||
break;
|
||||
case TABLETYPE:
|
||||
openTableType();
|
||||
break;
|
||||
case COLUMNLABEL:
|
||||
openColumnLabel();
|
||||
|
@ -703,6 +704,15 @@ public class TabularDataController {
|
|||
}
|
||||
|
||||
|
||||
protected void openTableType() {
|
||||
Log.debug("Request Change Table Type Tab");
|
||||
if (trId != null) {
|
||||
WidgetRequestEvent e = new WidgetRequestEvent(
|
||||
WidgetRequestType.CHANGETABLETYPEPANEL);
|
||||
e.setTrId(trId);
|
||||
eventBus.fireEvent(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -719,7 +729,8 @@ public class TabularDataController {
|
|||
String opId = event.getOperationId();
|
||||
String columnName = tabularData.getColumnId(event.getColumnSelected());
|
||||
Log.debug("GridColumnName: " + columnName);
|
||||
|
||||
|
||||
|
||||
if (opId.compareTo(GridHeaderOperationId.COLUMNLABEL.toString()) == 0) {
|
||||
openColumnLabel(columnName);
|
||||
} else {
|
||||
|
|
|
@ -384,7 +384,7 @@ public class CurationToolBar {
|
|||
denormalizeButton.disable();
|
||||
changeColumnLabelButton.enable();
|
||||
columnTypeButton.enable();
|
||||
tableTypeButton.disable();
|
||||
tableTypeButton.enable();
|
||||
addColumnButton.disable();
|
||||
deleteColumnButton.enable();
|
||||
extractCodelistButton.disable();
|
||||
|
|
|
@ -37,11 +37,11 @@
|
|||
<entry-point class='org.gcube.portlets.user.td.client.TabularDataPortlet' />
|
||||
|
||||
<!-- <set-property name="log_DivLogger" value="DISABLED" /> -->
|
||||
<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_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" />
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
<!-- 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_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" />
|
||||
|
||||
|
||||
<!-- Specify the paths for translatable code -->
|
||||
<source path='client' />
|
||||
|
|
|
@ -47,12 +47,12 @@
|
|||
<servlet-class>org.gcube.portlets.user.td.taskswidget.server.TdTasksWidgetServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- Template Service
|
||||
<!-- Template Service -->
|
||||
<servlet>
|
||||
<servlet-name>tdTemplateServiceImpl</servlet-name>
|
||||
<servlet-class>org.gcube.portlets.user.tdtemplate.server.TdTemplateServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
<!-- CSV IMPORT WIZARD -->
|
||||
|
@ -153,12 +153,12 @@
|
|||
<url-pattern>/tabulardataportlet/tabularDataTasksService</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Template Servlet
|
||||
<!-- Template Servlet -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>tdTemplateServiceImpl</servlet-name>
|
||||
<url-pattern>/tabulardataportlet/tdtemplate</url-pattern>
|
||||
</servlet-mapping>
|
||||
-->
|
||||
|
||||
|
||||
|
||||
<!-- CSV IMPORT WIZARD -->
|
||||
|
|
Loading…
Reference in New Issue