Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/WspDatacagePanel.java @ 6580:663c159f3b43
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 17 Jul 2013 10:03:27 +0200 |
parents | ea9eef426962 |
children | f4c13fbde072 |
comparison
equal
deleted
inserted
replaced
6579:b2534dfa2ac8 | 6580:663c159f3b43 |
---|---|
76 } | 76 } |
77 | 77 |
78 | 78 |
79 /** | 79 /** |
80 * We need to override this method (defined in AbstractUIProvider) because | 80 * We need to override this method (defined in AbstractUIProvider) because |
81 * we have to create a new Artifact specified by the Datacage selection via | 81 * we have to create a new Artifact specified by the Datacage selection via |
82 * Async request. | 82 * Async request. |
83 * | 83 * |
84 * @param e The ClickEvent. | 84 * @param e The ClickEvent. |
85 */ | 85 */ |
86 @Override | 86 @Override |
142 // do nothing here, the Data is fetched on another way in this panel. | 142 // do nothing here, the Data is fetched on another way in this panel. |
143 return null; | 143 return null; |
144 } | 144 } |
145 | 145 |
146 | 146 |
147 /** Returns a Data Array with one default item. */ | |
147 protected Data[] getData(Recommendation r, Artifact newArtifact) { | 148 protected Data[] getData(Recommendation r, Artifact newArtifact) { |
148 String uuid = newArtifact.getUuid(); | 149 String uuid = newArtifact.getUuid(); |
149 r.setMasterArtifact(uuid); | 150 r.setMasterArtifact(uuid); |
150 | 151 |
151 String value = createDataString(uuid, r.getFilter()); | 152 String value = createDataString(uuid, r.getFilter()); |