Example usage for com.vaadin.client.communication StateChangeEvent getChangedProperties

List of usage examples for com.vaadin.client.communication StateChangeEvent getChangedProperties

Introduction

In this page you can find the example usage for com.vaadin.client.communication StateChangeEvent getChangedProperties.

Prototype

@Deprecated
public Set<String> getChangedProperties() 

Source Link

Document

Gets the properties that have changed.

Usage

From source file:org.semanticsoft.vaaclipse.widgets.client.ui.fastview.FastViewConnector.java

License:Open Source License

@Override
public void onStateChanged(StateChangeEvent stateChangeEvent) {
    super.onStateChanged(stateChangeEvent);

    Set<String> changedProperties = stateChangeEvent.getChangedProperties();
    if (changedProperties.contains("side")) {
        getWidget().side = getState().side;
        getWidget().trimmedWindowClientArea = ((ComponentConnector) getState().trimmedWindowClientArea)
                .getWidget();// w w  w  .j a  v a  2  s . co m

        VConsole.log("FastView: side = " + getState().side.toString());
        setPaneLocation();
    }
}