diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-19 22:27:24 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-19 22:27:24 +0200 |
commit | 10153f76a14a7b66e3c936b3249bec0c76835984 (patch) | |
tree | 5a0472a849b227704f25ee314f5a3f3bfdf097ec /src/jrummikub/view/impl | |
parent | fc6d3d46db69c639557462a49ccb16463df91617 (diff) | |
download | JRummikub-10153f76a14a7b66e3c936b3249bec0c76835984.tar JRummikub-10153f76a14a7b66e3c936b3249bec0c76835984.zip |
Fix mock and tests
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@493 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/view/impl')
-rw-r--r-- | src/jrummikub/view/impl/QuitWarningPanel.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jrummikub/view/impl/QuitWarningPanel.java b/src/jrummikub/view/impl/QuitWarningPanel.java index d7a304a..b7992b0 100644 --- a/src/jrummikub/view/impl/QuitWarningPanel.java +++ b/src/jrummikub/view/impl/QuitWarningPanel.java @@ -15,6 +15,7 @@ import javax.swing.border.EmptyBorder; import javax.swing.border.LineBorder; import jrummikub.util.Event; +import jrummikub.util.IEvent; import jrummikub.view.IQuitWarningPanel; public class QuitWarningPanel extends JPanel implements IQuitWarningPanel { @@ -77,19 +78,19 @@ public class QuitWarningPanel extends JPanel implements IQuitWarningPanel { messageLabel.setText("Der aktuelle Spielstand geht verloren"); } } - + @Override - public QuitMode getQuitMode(){ + public QuitMode getQuitMode() { return quitMode; } @Override - public Event getQuitEvent() { + public IEvent getQuitEvent() { return quitEvent; } @Override - public Event getCancelEvent() { + public IEvent getCancelEvent() { return cancelEvent; } } |