summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/view
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/view')
-rw-r--r--mock/jrummikub/view/MockView.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/mock/jrummikub/view/MockView.java b/mock/jrummikub/view/MockView.java
index d26432a..1472742 100644
--- a/mock/jrummikub/view/MockView.java
+++ b/mock/jrummikub/view/MockView.java
@@ -79,6 +79,8 @@ public class MockView implements IView {
/** */
public MockEvent acknowledgeInvalidEvent = new MockEvent();
/** */
+ public MockEvent acknowledgeConnectionLostEvent = new MockEvent();
+ /** */
public MockEvent1<File> loadFileEvent = new MockEvent1<File>();
@Override
@@ -117,6 +119,11 @@ public class MockView implements IView {
}
@Override
+ public IEvent getAcknowledgeConnectionLostEvent() {
+ return acknowledgeConnectionLostEvent;
+ }
+
+ @Override
public IEvent getEndProgramEvent() {
return quitEvent;
}
@@ -173,7 +180,7 @@ public class MockView implements IView {
@Override
public void showSidePanel(boolean show) {
- isSidePanelVisible=show;
+ isSidePanelVisible = show;
}
public void showQuitWarningPanel(boolean show) {
@@ -192,7 +199,7 @@ public class MockView implements IView {
@Override
public void showConnectPanel(boolean show) {
- isConnectPanelVisible=show;
+ isConnectPanelVisible = show;
}