this.activityScheduler.autoComboSelect(1);
if(!updateRequired) { ActionManager.getInstance().getAction(Constants.ACTION_GOTOSTEP).setEnabled(false); } if(this.activity.hasInputProducts()) this.activityScheduler.autoComboSelect(1); else this.activityScheduler.autoComboSelect(0);
	public ActivityPresentationState (ActivityScheduler activityScheduler,			Activity activity)	{		super(activityScheduler, activity);		// on affiche la presentation de l'activit?		this.activityScheduler.presentActivityAndProduct();		this.activityScheduler.fillDirectAccessComboBox();		this.activityScheduler.autoComboSelect(1);				// TODO a supprimer		// test la presentation des produits a creer		// this.activityScheduler.presentProducts(this.activity.getOutputProducts());		// this.activityScheduler.checkBeforeEnd();				// s'il y a des produits en sorties		if (this.activity.hasOutputProducts())		{			// on affiche le bouton next			ActionManager.getInstance().getAction(Constants.ACTION_NEXT)					.setEnabled(true);		}		else		{			// on n'affiche pas le bouton next			ActionManager.getInstance().getAction(Constants.ACTION_NEXT)					.setEnabled(false);		}				// on affiche le bouton terminate		ActionManager.getInstance().getAction(Constants.ACTION_TERMINATE)				.setEnabled(true);		if (this.activity.hasInputProducts())		{			// on active le bouton previous			ActionManager.getInstance().getAction(Constants.ACTION_PREVIOUS)					.setEnabled(true);		}		else		{			// on grise le bouton previous			ActionManager.getInstance().getAction(Constants.ACTION_PREVIOUS)					.setEnabled(false);		}	}