summaryrefslogblamecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureImageListPageLayout.java
blob: 1b2616d649194606f551b3d558f0bed7db5e6e02 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                                      
                                                                 







                                                                     
 







                                                                                     
                                                                         
                                                                              
                                   

         
package org.openslx.dozmod.gui.wizard.layout;

import org.openslx.dozmod.gui.control.ImageListViewer;
import org.openslx.dozmod.gui.control.ImageListViewer.FilterType;
import org.openslx.dozmod.gui.helper.GridManager;
import org.openslx.dozmod.gui.wizard.Wizard;
import org.openslx.dozmod.gui.wizard.WizardPage;

@SuppressWarnings("serial")
public abstract class LectureImageListPageLayout extends WizardPage {

	protected final ImageListViewer imageListViewer;

	/**
	 * Page for setting custom permissions of a lecture
	 */
	public LectureImageListPageLayout(Wizard wizard) {
		super(wizard, "Image verknüpfen");
		setDescription("Wählen Sie ein Image für diese Veranstaltung aus");
		GridManager grid = new GridManager(this, 1, false);

		imageListViewer = new ImageListViewer(FilterType.USABLE);
		grid.add(imageListViewer).fill(true, true).expand(true, true);
		grid.finish(false);
	}
}