Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/CollectionView.java @ 6578:e6122a6565e1
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 17 Jul 2013 10:01:40 +0200 |
parents | ea9eef426962 |
children | 71a2e408adca |
comparison
equal
deleted
inserted
replaced
6577:87b49f9f27a1 | 6578:e6122a6565e1 |
---|---|
391 updateView(); | 391 updateView(); |
392 } | 392 } |
393 } | 393 } |
394 | 394 |
395 /** | 395 /** |
396 * Loads all information of a collection | 396 * Loads all information of a collection. |
397 * If 'recommendations' present, load these. | |
397 * @param c the Collection | 398 * @param c the Collection |
398 */ | 399 */ |
399 private void loadCollection(Collection c) { | 400 private void loadCollection(Collection c) { |
400 ArtifactDescription desc = getArtifact().getArtifactDescription(); | 401 ArtifactDescription desc = getArtifact().getArtifactDescription(); |
401 final Recommendation[] recom = desc.getRecommendations(); | 402 final Recommendation[] recom = desc.getRecommendations(); |
639 } | 640 } |
640 } | 641 } |
641 ); | 642 ); |
642 } | 643 } |
643 else { | 644 else { |
644 // Create new collection and add artifact | 645 // Create new collection and add artifact. |
645 final Artifact art = artifact; | 646 final Artifact art = artifact; |
646 createCollectionService.create( | 647 createCollectionService.create( |
647 locale, | 648 locale, |
648 flys.getCurrentUser().identifier(), | 649 flys.getCurrentUser().identifier(), |
649 new AsyncCallback<Collection>() { | 650 new AsyncCallback<Collection>() { |