summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureImageListPageLayout.java
blob: ef7baf36532d749583cb1fc530d6bd5cf77f6fa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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.helper.I18n;
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 ctlImageList;

	/**
	 * Page for setting custom permissions of a lecture
	 */
	public LectureImageListPageLayout(Wizard wizard) {
		super(wizard, I18n.PAGE_LAYOUT.getString("LectureImageList.WizardPage.title"));
		setDescription(I18n.PAGE_LAYOUT.getString("LectureImageList.WizardPage.description"));
		GridManager grid = new GridManager(this, 1, false);

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