Place place = null;
switch (animationName) {
case SLIDE:
place = new AnimationSlidePlace();
break;
case SLIDE_UP:
place = new AnimationSlideUpPlace();
break;
case DISSOLVE:
place = new AnimationDissolvePlace();
break;
case FADE:
place = new AnimationFadePlace();
break;
case FLIP:
place = new AnimationFlipPlace();
break;
case POP:
place = new AnimationPopPlace();
break;
case SWAP:
place = new AnimationSwapPlace();
break;
default:
// TODO log
place = new AnimationSlidePlace();
break;
}
if (MGWT.getFormFactor().isTablet() || MGWT.getFormFactor().isDesktop()) {