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:
parent
9926fb910a
commit
7bac9a4a1c
|
@ -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 {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue