Updated Ribbon

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@100154 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-24 08:49:19 +00:00
parent a72a854073
commit 0c2dc5dfc9
2 changed files with 11 additions and 10 deletions

View File

@ -44,7 +44,7 @@ public class AnalyseToolBar {
protected TextButton addRowButton;
protected TextButton deleteRowButton;
protected TextButton deleteDuplicateButton;
protected TextButton annotationButton;
//protected TextButton annotationButton;
protected TextButton filterColumnButton;
protected TextButton replaceValueBatchButton;
@ -191,7 +191,8 @@ public class AnalyseToolBar {
tableLayout.setWidget(0, 6, deleteDuplicateButton);
tableLayout.getFlexCellFormatter().setRowSpan(0, 6, 2);
/*
annotationButton = new TextButton("Annotation",
TabularDataResources.INSTANCE.annotationAdd32());
annotationButton.setScale(ButtonScale.LARGE);
@ -208,7 +209,7 @@ public class AnalyseToolBar {
tableLayout.setWidget(0, 7, annotationButton);
tableLayout.getFlexCellFormatter().setRowSpan(0, 7, 2);
*/
cleanCells(tableLayout.getElement());
// Column Group

View File

@ -41,7 +41,7 @@ public class ModifyToolBar {
protected TextButton addRowButton;
protected TextButton deleteRowButton;
protected TextButton deleteDuplicateButton;
protected TextButton annotationButton;
//protected TextButton annotationButton;
// Column
protected TextButton filterColumnButton;
@ -193,7 +193,7 @@ public class ModifyToolBar {
tableLayout.setWidget(0, 6, deleteDuplicateButton);
tableLayout.getFlexCellFormatter().setRowSpan(0, 6, 2);
/*
annotationButton = new TextButton("Annotation",
TabularDataResources.INSTANCE.annotationAdd32());
annotationButton.disable();
@ -210,7 +210,7 @@ public class ModifyToolBar {
tableLayout.setWidget(0, 7, annotationButton);
tableLayout.getFlexCellFormatter().setRowSpan(0, 7, 2);
*/
cleanCells(tableLayout.getElement());
// Column Group
@ -304,7 +304,7 @@ public class ModifyToolBar {
addRowButton.disable();
deleteRowButton.disable();
deleteDuplicateButton.disable();
annotationButton.disable();
//annotationButton.disable();
// Column
filterColumnButton.disable();
replaceValueBatchButton.disable();
@ -319,7 +319,7 @@ public class ModifyToolBar {
addRowButton.disable();
deleteRowButton.disable();
deleteDuplicateButton.disable();
annotationButton.disable();
//annotationButton.disable();
// Column
filterColumnButton.disable();
replaceValueBatchButton.disable();
@ -335,7 +335,7 @@ public class ModifyToolBar {
addRowButton.enable();
deleteRowButton.enable();
deleteDuplicateButton.enable();
annotationButton.disable();
//annotationButton.disable();
// Column
filterColumnButton.disable();
replaceValueBatchButton.disable();
@ -349,7 +349,7 @@ public class ModifyToolBar {
addRowButton.disable();
deleteRowButton.disable();
deleteDuplicateButton.disable();
annotationButton.disable();
//annotationButton.disable();
// Column
filterColumnButton.disable();
replaceValueBatchButton.disable();