protected void saveProjectConfiguration() { if (Application.get().getUserId().isGuest()) { MessageBox.showAlert( "You are not signed in", "To save the layout, you need to sign in first."); return; } ProjectLayoutConfiguration config = getProject().getProjectLayoutConfiguration(); config.setProjectId(projectId); ProjectConfigurationServiceManager.getInstance() .saveProjectConfiguration( projectId, Application.get().getUserId(), config, new SaveConfigHandler()); }
private void getProjectConfiguration() { UIUtil.showLoadProgessBar("Loading Project", "Loading user interface configuration"); ProjectConfigurationServiceManager.getInstance() .getProjectConfiguration( projectId, Application.get().getUserId(), new GetProjectConfigurationHandler()); }