Mercurial > hg > STI-GWT
changeset 80:1dc51e3b2848 trimmed_data
Add (ugly) images for export and switch table view
author | Sebastian Kruse <skruse@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 17 Jan 2013 17:58:15 +0100 |
parents | 14cacff35e8d |
children | a183604fe16a |
files | src/econnect/wp3_3/client/core/ApplicationConstants.java src/econnect/wp3_3/client/core/ApplicationConstants.properties src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java war/images/export.png war/images/switch_table_view.png |
diffstat | 5 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/econnect/wp3_3/client/core/ApplicationConstants.java Wed Jan 16 18:14:55 2013 +0100 +++ b/src/econnect/wp3_3/client/core/ApplicationConstants.java Thu Jan 17 17:58:15 2013 +0100 @@ -207,4 +207,9 @@ * @return image for export button */ String exportImage(); + + /** + * @return image for export button + */ + String switchView(); }
--- a/src/econnect/wp3_3/client/core/ApplicationConstants.properties Wed Jan 16 18:14:55 2013 +0100 +++ b/src/econnect/wp3_3/client/core/ApplicationConstants.properties Thu Jan 17 17:58:15 2013 +0100 @@ -39,4 +39,5 @@ cancelImage = images/cancel.png linkImage = images/link.png #TODO: richtiges Bild eintragen -exportImage = images/cancel.png +exportImage = images/export.png +switchView = images/switch_table_view.png
--- a/src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java Wed Jan 16 18:14:55 2013 +0100 +++ b/src/econnect/wp3_3/client/widgets/table/DynamicStiTable.java Thu Jan 17 17:58:15 2013 +0100 @@ -178,7 +178,7 @@ //should be Name + Place currentlyVisibleView = 0; - Image switchTableLayout = new Image(constants.playEnabled()); + Image switchTableLayout = new Image(constants.switchView()); switchTableLayout.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { //switch the layout of the table