summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/wizard/layout/LectureLocationSelectionPageLayout.java
blob: 703d88e8ae624f5ee870f298c1a08bcf1ecb43ff (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
package org.openslx.dozmod.gui.wizard.layout;

import org.openslx.dozmod.gui.control.LocationSelector;
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 class LectureLocationSelectionPageLayout extends WizardPage {

	/**
	 * Version for serialization.
	 */
	private static final long serialVersionUID = -5292483123910412285L;

	protected final LocationSelector ctlLocationSelector;

	public LectureLocationSelectionPageLayout(Wizard wizard) {
		super(wizard, I18n.PAGE_LAYOUT.getString("LectureLocationSelection.WizardPage.title"));
		setDescription(I18n.PAGE_LAYOUT.getString("LectureLocationSelection.WizardPage.description"));
		ctlLocationSelector = new LocationSelector();
		GridManager grid = new GridManager(this, 1);
		grid.add(ctlLocationSelector).fill(true, true).expand(true, true);
		grid.finish(false);
	}
}