Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@90716 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
61ba73927e
commit
2fe289e2c1
|
@ -33,7 +33,7 @@ public class ModifyToolBar {
|
|||
protected TextButton unionButton;
|
||||
protected TextButton denormalizeButton;
|
||||
protected TextButton groupButton;
|
||||
protected TextButton aggregateButton;
|
||||
protected TextButton groupbyButton;
|
||||
|
||||
// Column
|
||||
protected TextButton changeColumnLabelButton;
|
||||
|
@ -122,13 +122,13 @@ public class ModifyToolBar {
|
|||
tableLayout.setWidget(0, 2, denormalizeButton);
|
||||
tableLayout.getFlexCellFormatter().setRowSpan(0, 2, 2);
|
||||
|
||||
aggregateButton = new TextButton("Aggregate",
|
||||
TabularDataResources.INSTANCE.aggregate32());
|
||||
aggregateButton.setScale(ButtonScale.LARGE);
|
||||
aggregateButton.setIconAlign(IconAlign.TOP);
|
||||
aggregateButton.setToolTip("Perform data aggregation");
|
||||
aggregateButton.setArrowAlign(ButtonArrowAlign.BOTTOM);
|
||||
aggregateButton.addSelectHandler(new SelectHandler() {
|
||||
groupbyButton = new TextButton("Group By",
|
||||
TabularDataResources.INSTANCE.group32());
|
||||
groupbyButton.setScale(ButtonScale.LARGE);
|
||||
groupbyButton.setIconAlign(IconAlign.TOP);
|
||||
groupbyButton.setToolTip("Perform data grouping");
|
||||
groupbyButton.setArrowAlign(ButtonArrowAlign.BOTTOM);
|
||||
groupbyButton.addSelectHandler(new SelectHandler() {
|
||||
|
||||
public void onSelect(SelectEvent event) {
|
||||
// eventBus.fireEvent(new
|
||||
|
@ -136,7 +136,7 @@ public class ModifyToolBar {
|
|||
}
|
||||
});
|
||||
|
||||
tableLayout.setWidget(0, 3, aggregateButton);
|
||||
tableLayout.setWidget(0, 3, groupbyButton);
|
||||
tableLayout.getFlexCellFormatter().setRowSpan(0, 3, 2);
|
||||
cleanCells(tableLayout.getElement());
|
||||
|
||||
|
|
Loading…
Reference in New Issue