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

@ -1291,9 +1291,19 @@ public class TabularDataController {
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

@ -36,12 +36,23 @@ public class GridHeaderColumnMenu {
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());