summaryrefslogblamecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/MainMenuWindow.java
blob: a6337fb87c110f6cc27358c66ae4e5e593049ecb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                 



                                                                      
                                                                                       












                                                                            
package org.openslx.dozmod.gui.window;

import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.widgets.Shell;
import org.openslx.dozmod.gui.window.layout.MainMenuWindowLayout;

public class MainMenuWindow extends MainMenuWindowLayout {

	public MainMenuWindow(Shell mainShell) {
		super(mainShell);
		// function for vmButton
		vmButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
				MainWindow.setContent(new ImageListWindow(getShell()));
			}
		});

		// function for lecturesButton
		lecturesButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
				// 
			}
		});
	}

}