Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@97063 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-06 16:11:22 +00:00
parent 9926fb910a
commit 7bac9a4a1c
3 changed files with 27 additions and 6 deletions

View File

@ -1290,9 +1290,19 @@ public class TabularDataController {
} else {
if (opId.compareTo(GridHeaderOperationId.DUPLICATEDETECTION
.toString()) == 0) {
} else {
if (opId.compareTo(GridHeaderOperationId.COLUMNSPLIT
.toString()) == 0) {
openColumnSplit(columnName);
} else {
if (opId.compareTo(GridHeaderOperationId.COLUMNMERGE
.toString()) == 0) {
openColumnMerge(columnName);
} else {
}
}
}
}

View File

@ -34,14 +34,25 @@ public class GridHeaderColumnMenu {
addColumnItem.setId(GridHeaderOperationId.COLUMNADD.toString());
addColumnItem.setIcon(TabularDataResources.INSTANCE.columnAdd());
menuItems.add(addColumnItem);
MenuItem deleteColumnItem = new MenuItem("Delete Column");
deleteColumnItem.setId(GridHeaderOperationId.COLUMNDELETE.toString());
deleteColumnItem.setIcon(TabularDataResources.INSTANCE.columnDelete());
menuItems.add(deleteColumnItem);
MenuItem splitColumnItem = new MenuItem("Split Column");
splitColumnItem.setId(GridHeaderOperationId.COLUMNSPLIT.toString());
splitColumnItem.setIcon(TabularDataResources.INSTANCE.columnSplit());
menuItems.add(splitColumnItem);
MenuItem mergeColumnItem = new MenuItem("Merge Column");
mergeColumnItem.setId(GridHeaderOperationId.COLUMNMERGE.toString());
mergeColumnItem.setIcon(TabularDataResources.INSTANCE.columnMerge());
menuItems.add(mergeColumnItem);
MenuItem changeToTypeItem = new MenuItem("Change Type");
changeToTypeItem.setId(GridHeaderOperationId.COLUMNTYPE.toString());

View File

@ -52,7 +52,7 @@
<!-- 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" />
@ -63,7 +63,7 @@
<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' />