blob: 830b877028d38ae93b9a3053bc6e30b0ac47f05d (
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
28
29
30
31
|
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;
public abstract class LectureImageListPageLayout extends WizardPage {
/**
* Version for serialization.
*/
private static final long serialVersionUID = -4839648148827234593L;
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);
}
}
|