From 2c3f5b53e1c567537f99594602f5c253885298a6 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Sun, 19 Jun 2011 22:30:04 +0200 Subject: =?UTF-8?q?r=C3=A4usper...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@494 72836036-5685-4462-b002-a69064685172 --- mock/jrummikub/view/MockQuitWarningPanel.java | 35 +++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mock/jrummikub/view/MockQuitWarningPanel.java diff --git a/mock/jrummikub/view/MockQuitWarningPanel.java b/mock/jrummikub/view/MockQuitWarningPanel.java new file mode 100644 index 0000000..fc5abde --- /dev/null +++ b/mock/jrummikub/view/MockQuitWarningPanel.java @@ -0,0 +1,35 @@ +package jrummikub.view; + +import jrummikub.util.IEvent; +import jrummikub.util.MockEvent; + +/** */ +public class MockQuitWarningPanel implements IQuitWarningPanel { + /** */ + public MockEvent quitEvent = new MockEvent(); + /** */ + public MockEvent cancelEvent = new MockEvent(); + /** */ + public QuitMode quitMode; + + @Override + public IEvent getQuitEvent() { + return quitEvent; + } + + @Override + public IEvent getCancelEvent() { + return cancelEvent; + } + + @Override + public void setMode(QuitMode mode) { + quitMode = mode; + } + + @Override + public QuitMode getQuitMode() { + return quitMode; + } + +} -- cgit v1.2.3