Exemplo n.º 1
0
 private void saveState() {
   showAgain = splash.showAgain();
   if (showAgain != null) {
     splashFilter.setDisplayNextTime(showAgain);
     nativeSplashScreen.getWbServices().save(splashFilter);
   }
 }
 private void saveState() {
   showAgain = splash.showAgain();
   if (showAgain != null) {
     splashFilter.setDisplayNextTime(showAgain);
     wbServices.save(splashFilter);
   }
 }
Exemplo n.º 3
0
  @Override
  public Boolean intercept(final PlaceRequest intercepted) {
    if (splashFilter == null) {
      return false;
    }
    for (final String interceptPoint : splashFilter.getInterceptionPoints()) {
      if (intercepted.getIdentifier().equals(interceptPoint)) {
        return true;
      }
    }

    return false;
  }
Exemplo n.º 4
0
 public void init() {
   if (!splashFilter.displayNextTime()) {
     return;
   }
   forceShow();
 }