~berthold-daum/zora/trunk

« back to all changes in this revision

Viewing changes to com.bdaum.zoom.ui/src/com/bdaum/zoom/ui/internal/dialogs/ExhibitionEditDialog.java

  • Committer: bdaum
  • Date: 2015-12-26 10:21:51 UTC
  • Revision ID: berthold.daum@bdaum.de-20151226102151-44f1j5113167thb9
VersionĀ 2.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
441
441
                                        public void modifyText(ModifyEvent e) {
442
442
                                                updateButtons();
443
443
                                        }
444
 
                                }, false);
 
444
                                }, false, true);
445
445
                // Link
446
446
                new Label(parent, SWT.NONE)
447
447
                                .setText(Messages.ExhibitionEditDialog_web_link);
2384
2384
                        }
2385
2385
                } else if (obj instanceof SmartCollectionImpl) {
2386
2386
                        SmartCollection sm = (SmartCollection) obj;
2387
 
                        List<Asset> select = dbManager.createCollectionProcessor(sm)
 
2387
                        List<Asset> assets = dbManager.createCollectionProcessor(sm)
2388
2388
                                        .select(true);
2389
2389
                        WallImpl newWall = createNewWall(1);
2390
2390
                        newWall.setLocation(sm.getName());
2391
 
                        int incr = (newWall.getWidth() - 2 * pos) / (select.size() + 1);
2392
 
                        for (Asset asset : select) {
 
2391
                        int incr = (newWall.getWidth() - 2 * pos) / (assets.size() + 1);
 
2392
                        for (Asset asset : assets) {
2393
2393
                                if (!ExhibitionView.accepts(asset))
2394
2394
                                        continue;
2395
2395
                                createExhibitFromAsset(show, newWall, pos, asset,