private void saveState() { showAgain = splash.showAgain(); if (showAgain != null) { splashFilter.setDisplayNextTime(showAgain); wbServices.save(splashFilter); } }
@Override public void onStartup(PlaceRequest place) { super.onStartup(place); wbServices.loadSplashScreenFilter( getFilter().getName(), new ParameterizedCommand<SplashScreenFilter>() { @Override public void execute(final SplashScreenFilter response) { if (response != null) { splashFilter = response; } if (splashFilter.displayNextTime()) { forceShow(); } } }); }