Add menu bar and make quit item work

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@379 72836036-5685-4462-b002-a69064685172
This commit is contained in:
Matthias Schiffer 2011-06-06 23:27:33 +02:00
parent 682357b584
commit c59332950b
4 changed files with 154 additions and 19 deletions

View file

@ -17,10 +17,17 @@ public class ApplicationControl {
* Creates a new application control
*
* @param view
* the view to use
* the view to use
*/
public ApplicationControl(IView view) {
this.view = view;
view.getMenuQuitEvent().add(new IListener() {
@Override
public void handle() {
System.exit(0);
}
});
}
/**