Mercurial > dive4elements > river
changeset 7764:5d17e0012020
Use river model_uuid to identify rivers.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 27 Feb 2014 16:42:35 +0100 |
parents | 4d74d09228f0 |
children | 03cb95071d21 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Thu Feb 27 16:41:47 2014 +0100 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/LinkSelection.java Thu Feb 27 16:42:35 2014 +0100 @@ -192,7 +192,7 @@ LinkItem link = new LinkItem("river"); link.setHoverDelay(0); link.setLinkTitle(item.getLabel()); - link.setTarget(item.getStringValue()); + link.setValue(item.getStringValue()); link.setShowTitle(false); Img img = new Img(); img.setShowTitle(false); @@ -238,7 +238,8 @@ link.addItemHoverHandler(new ItemHoverHandler() { @Override public void onItemHover(ItemHoverEvent event) { - String river = ((LinkItem)event.getItem()).getLinkTitle(); + String river = + ((LinkItem)event.getItem()).getValue().toString(); Img item = riverHighlight.get(river); if (item != null) { item.setVisible(true);