Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 4660:bb9ce9aece70
Add new method hasItems to Collection class
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Tue, 11 Dec 2012 16:24:57 +0100 |
parents | 518d60dfe6bf |
children | 5025acdb3815 |
comparison
equal
deleted
inserted
replaced
4659:518d60dfe6bf | 4660:bb9ce9aece70 |
---|---|
334 * been chosen. | 334 * been chosen. |
335 * | 335 * |
336 * @return true, if the Collection is new. | 336 * @return true, if the Collection is new. |
337 */ | 337 */ |
338 public boolean isNew() { | 338 public boolean isNew() { |
339 return collection.getItemLength() == 0; | 339 return collection.hasItems(); |
340 } | 340 } |
341 | 341 |
342 | 342 |
343 /** | 343 /** |
344 * Returns the artifact that is used for the parameterization. | 344 * Returns the artifact that is used for the parameterization. |