Updated Ribbon
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@113671 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
0ee95c42b0
commit
351b0cf417
|
@ -14,7 +14,7 @@ import org.gcube.portlets.user.td.client.template.TemplateDeleteDialog;
|
||||||
import org.gcube.portlets.user.td.client.template.TemplateOpenDialog;
|
import org.gcube.portlets.user.td.client.template.TemplateOpenDialog;
|
||||||
import org.gcube.portlets.user.td.codelistmappingimportwidget.client.CodelistMappingImportWizardTD;
|
import org.gcube.portlets.user.td.codelistmappingimportwidget.client.CodelistMappingImportWizardTD;
|
||||||
import org.gcube.portlets.user.td.columnwidget.client.batch.ReplaceBatchDialog;
|
import org.gcube.portlets.user.td.columnwidget.client.batch.ReplaceBatchDialog;
|
||||||
import org.gcube.portlets.user.td.columnwidget.client.replace.ReplaceDialog;
|
import org.gcube.portlets.user.td.columnwidget.client.replace.ReplaceAllDialog;
|
||||||
import org.gcube.portlets.user.td.csvexportwidget.client.CSVExportWizardTD;
|
import org.gcube.portlets.user.td.csvexportwidget.client.CSVExportWizardTD;
|
||||||
import org.gcube.portlets.user.td.csvimportwidget.client.CSVImportWizardTD;
|
import org.gcube.portlets.user.td.csvimportwidget.client.CSVImportWizardTD;
|
||||||
import org.gcube.portlets.user.td.expressionwidget.client.ColumnFilterDialog;
|
import org.gcube.portlets.user.td.expressionwidget.client.ColumnFilterDialog;
|
||||||
|
@ -2188,7 +2188,7 @@ public class TabularDataController {
|
||||||
if (cellData == null) {
|
if (cellData == null) {
|
||||||
UtilsGXT3.alert("No cell selected", "No cell selected");
|
UtilsGXT3.alert("No cell selected", "No cell selected");
|
||||||
} else {
|
} else {
|
||||||
ReplaceDialog replaceDialog = new ReplaceDialog(cellData, trId,
|
ReplaceAllDialog replaceDialog = new ReplaceAllDialog(cellData, trId,
|
||||||
eventBus);
|
eventBus);
|
||||||
replaceDialog.show();
|
replaceDialog.show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class ModifyToolBar {
|
||||||
toolsLayout.setWidget(0, 0, replaceButton);
|
toolsLayout.setWidget(0, 0, replaceButton);
|
||||||
toolsLayout.getFlexCellFormatter().setRowSpan(0, 0, 2);
|
toolsLayout.getFlexCellFormatter().setRowSpan(0, 0, 2);
|
||||||
|
|
||||||
deleteButton = new TextButton("Delete",
|
deleteButton = new TextButton("Delete Row",
|
||||||
TabularDataResources.INSTANCE.tableRowDelete32());
|
TabularDataResources.INSTANCE.tableRowDelete32());
|
||||||
deleteButton.disable();
|
deleteButton.disable();
|
||||||
deleteButton.setScale(ButtonScale.LARGE);
|
deleteButton.setScale(ButtonScale.LARGE);
|
||||||
|
@ -126,7 +126,7 @@ public class ModifyToolBar {
|
||||||
addRowButton.disable();
|
addRowButton.disable();
|
||||||
addRowButton.setScale(ButtonScale.LARGE);
|
addRowButton.setScale(ButtonScale.LARGE);
|
||||||
addRowButton.setIconAlign(IconAlign.TOP);
|
addRowButton.setIconAlign(IconAlign.TOP);
|
||||||
addRowButton.setToolTip("Add row");
|
addRowButton.setToolTip("Add Row");
|
||||||
addRowButton.setArrowAlign(ButtonArrowAlign.BOTTOM);
|
addRowButton.setArrowAlign(ButtonArrowAlign.BOTTOM);
|
||||||
addRowButton.addSelectHandler(new SelectHandler() {
|
addRowButton.addSelectHandler(new SelectHandler() {
|
||||||
|
|
||||||
|
@ -382,7 +382,7 @@ public class ModifyToolBar {
|
||||||
|
|
||||||
private Menu createDeleteMenu() {
|
private Menu createDeleteMenu() {
|
||||||
Menu menuDelete = new Menu();
|
Menu menuDelete = new Menu();
|
||||||
deleteSelectedRowsItem = new MenuItem("Selected Rows",
|
deleteSelectedRowsItem = new MenuItem("Selected Row",
|
||||||
TabularDataResources.INSTANCE.tableRowDeleteSelected());
|
TabularDataResources.INSTANCE.tableRowDeleteSelected());
|
||||||
deleteDuplicateItem = new MenuItem("Duplicate",
|
deleteDuplicateItem = new MenuItem("Duplicate",
|
||||||
TabularDataResources.INSTANCE.tableDuplicateRowsRemove());
|
TabularDataResources.INSTANCE.tableDuplicateRowsRemove());
|
||||||
|
|
Loading…
Reference in New Issue