Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@96373 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-06-03 10:39:21 +00:00
parent 4a5f68ea2f
commit 4c77dd7c1e
6 changed files with 14 additions and 7 deletions

View File

@ -105,7 +105,7 @@ public class AddColumnPanel extends FramedPanel implements
protected AddColumnSession addColumnSession;
protected AddColumnProgressDialog addColumnProgressDialog;
protected TextButton btnSave;
protected TextButton btnAddColumn;
protected TextField label;
protected TextField defaultValue;
@ -306,10 +306,10 @@ public class AddColumnPanel extends FramedPanel implements
// Save
btnSave = new TextButton("Save");
btnSave.setIcon(ResourceBundle.INSTANCE.save());
btnSave.setIconAlign(IconAlign.RIGHT);
btnSave.setTitle("Save");
btnAddColumn = new TextButton("Add");
btnAddColumn.setIcon(ResourceBundle.INSTANCE.columnAdd());
btnAddColumn.setIconAlign(IconAlign.RIGHT);
btnAddColumn.setTitle("Add Column");
SelectHandler changeHandler = new SelectHandler() {
@ -319,7 +319,7 @@ public class AddColumnPanel extends FramedPanel implements
}
};
btnSave.addSelectHandler(changeHandler);
btnAddColumn.addSelectHandler(changeHandler);
VerticalLayoutContainer v = new VerticalLayoutContainer();
v.add(new FieldLabel(label, "Label"), new VerticalLayoutData(1, -1,
@ -340,7 +340,7 @@ public class AddColumnPanel extends FramedPanel implements
new Margins(1)));
v.add(new FieldLabel(defaultValue, "Default"), new VerticalLayoutData(
1, -1, new Margins(1)));
v.add(btnSave,
v.add(btnAddColumn,
new VerticalLayoutData(-1, -1, new Margins(10, 0, 10, 0)));
add(v, new VerticalLayoutData(-1, -1, new Margins(0)));

View File

@ -40,6 +40,13 @@ public interface ResourceBundle extends ClientBundle {
@Source("column-values_32.png")
ImageResource columnValue32();
@Source("column-add.png")
ImageResource columnAdd();
@Source("column-add_32.png")
ImageResource columnAdd32();
@Source("column-replace.png")
ImageResource replace();

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB