this.activityState = new ActivityPresentationState(this, activity);
this.activityState = new ActivityPresentationState(this, activity, true);
    public ActivityScheduler(Activity activity, MainFrame frame)    {        // TODO a suppr         this.activity = activity;        this.state = State.INIT;                this.mfPagod = frame;                // pour pagod        if (this.activity.hasInputProducts())          	this.activityState = new PreConditionCheckerState (this, activity);        else        	this.activityState = new ActivityPresentationState(this, activity);    }