public void newObject(String modelId, String parentPid) { // bind object editor ui this.modelId = modelId; this.parentPid = parentPid; wizard.setShowButtons(false); wizard.moveAt(newDigObjectStep); }
@Override public void onShow(Wizard wizard) { this.wizard = wizard; initContext(); wizard.setWizardLabel( i18n.DigitalObjectCreator_DescriptionPrefix_Title(), i18n.DigitalObjectCreator_NewDigObjectStep_Description_Title()); newDigObject.setHandler(this); newDigObject.bind(modelId, null); }
public DigitalObjectCreator(ClientMessages i18n, PlaceController places) { this.i18n = i18n; this.places = places; newDigObjectStep = new NewDigObjectStep(); wizard = new Wizard(i18n, newDigObjectStep, Wizard.emptyStep()); }