Search in sources :

Example 1 with ClientState

use of org.rstudio.studio.client.workbench.model.ClientState in project rstudio by rstudio.

the class ClientStateValue method onSaveClientState.

public final void onSaveClientState(SaveClientStateEvent event) {
    try {
        if (hasChanged()) {
            ClientState clientState = event.getState();
            put(clientState, getValue());
        }
    } catch (Exception e) {
        Debug.log(e.toString());
    }
}
Also used : ClientState(org.rstudio.studio.client.workbench.model.ClientState)

Aggregations

ClientState (org.rstudio.studio.client.workbench.model.ClientState)1