diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-22 21:12:47 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-08-22 21:12:47 +0300 |
commit | 050bec8a443b916e45adf4bf7ea91241690d37e2 (patch) | |
tree | f2c338ec73f5dfb0d1cb4607a5e9529ba0f89c04 /client | |
parent | 38358ae25543433f8cc381101bc340adc7e5c67f (diff) | |
download | vaadin-framework-050bec8a443b916e45adf4bf7ea91241690d37e2.tar.gz vaadin-framework-050bec8a443b916e45adf4bf7ea91241690d37e2.zip |
Make the (server-side) getState method protected (#9315)
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/terminal/gwt/client/ServerConnector.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/client/src/com/vaadin/terminal/gwt/client/ServerConnector.java b/client/src/com/vaadin/terminal/gwt/client/ServerConnector.java index 8788de74bf..d988c5f4a2 100644 --- a/client/src/com/vaadin/terminal/gwt/client/ServerConnector.java +++ b/client/src/com/vaadin/terminal/gwt/client/ServerConnector.java @@ -22,6 +22,7 @@ import com.google.gwt.event.shared.GwtEvent; import com.google.web.bindery.event.shared.HandlerRegistration; import com.vaadin.shared.Connector; import com.vaadin.shared.communication.ClientRpc; +import com.vaadin.shared.communication.SharedState; import com.vaadin.terminal.gwt.client.communication.StateChangeEvent.StateChangeHandler; /** @@ -142,4 +143,13 @@ public interface ServerConnector extends Connector { public void setChildren(List<ServerConnector> children); public List<ServerConnector> getChildren(); + + /** + * Gets the current shared state of the connector. + * + * @since 7.0. + * @return state The shared state object. Can be any sub type of + * {@link SharedState}. Never null. + */ + public SharedState getState(); } |