diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-07-27 14:36:23 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-07-27 14:38:15 +0300 |
commit | 7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614 (patch) | |
tree | 32dca6d9bfdef899aee0e64f78b4ef8802595f8f /src/com/vaadin/shared/ui/JavaScriptComponentState.java | |
parent | 01c312a4a7b457bfb89c19e804d403537974026f (diff) | |
download | vaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.tar.gz vaadin-framework-7f75d0f4cfd93d30bd5209a7fe02c819ee6ac614.zip |
Move classes common to client and server to com.vaadin.shared.* (#8934)
Diffstat (limited to 'src/com/vaadin/shared/ui/JavaScriptComponentState.java')
-rw-r--r-- | src/com/vaadin/shared/ui/JavaScriptComponentState.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/com/vaadin/shared/ui/JavaScriptComponentState.java b/src/com/vaadin/shared/ui/JavaScriptComponentState.java new file mode 100644 index 0000000000..d20b4701c2 --- /dev/null +++ b/src/com/vaadin/shared/ui/JavaScriptComponentState.java @@ -0,0 +1,39 @@ +/* +@VaadinApache2LicenseForJavaFiles@ + */ + +package com.vaadin.shared.ui; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +import com.vaadin.shared.ComponentState; +import com.vaadin.shared.JavaScriptConnectorState; + +public class JavaScriptComponentState extends ComponentState implements + JavaScriptConnectorState { + + private Set<String> callbackNames = new HashSet<String>(); + private Map<String, Set<String>> rpcInterfaces = new HashMap<String, Set<String>>(); + + @Override + public Set<String> getCallbackNames() { + return callbackNames; + } + + public void setCallbackNames(Set<String> callbackNames) { + this.callbackNames = callbackNames; + } + + @Override + public Map<String, Set<String>> getRpcInterfaces() { + return rpcInterfaces; + } + + public void setRpcInterfaces(Map<String, Set<String>> rpcInterfaces) { + this.rpcInterfaces = rpcInterfaces; + } + +} |