private void createBallModel ( final JRebirthEvent event ) { switch ( event . eventType ( ) ) { case CREATE_APPLICATION : case CREATE_NOTIFIER : case CREATE_GLOBAL_FACADE : case CREATE_COMMAND_FACADE : case CREATE_SERVICE_FACADE : case CREATE_UI_FACADE : case CREATE_COMMAND : case CREATE_SERVICE : case CREATE_MODEL : case CREATE_VIEW : case CREATE_CONTROLLER : // final BallModel ballModel = getModel(BallModel.class, event); callCommand ( CreateBallCommand . class , WBuilder . waveData ( EditorWaves . EVENT , event ) ) ; break ; case CREATE_WAVE : default : } }
Create a ballModel instance .