private void placeAction(AllocationAction action, boolean shouldPause) {
		notifyListeners(action);

    	if(shouldPause){
    		if(isStepByStepEnabled()){
    			GridSim.pauseSimulation();
	    	}
    		else if(isSlowMotionModeEnabled()){
    			smallSimulationPause();
    		}
   		}
    }