1 package com.vaadin.contextmenu.client;
2
3 import com.vaadin.client.ApplicationConnection;
4 import com.vaadin.client.ui.VOverlay;
5
6
7
8
9
10 public class MyVOverlay extends VOverlay {
11 private static ApplicationConnection ac_static;
12
13 @SuppressWarnings("deprecation")
14 public MyVOverlay(boolean autoHide, boolean modal) {
15 super(autoHide, modal);
16 }
17
18 public MyVOverlay() {
19 super();
20 }
21
22 public static void setApplicationConnection(ApplicationConnection ac) {
23
24 ac_static = ac;
25 }
26
27 @Override
28 protected ApplicationConnection getApplicationConnection() {
29 return ac_static;
30 }
31 }