Example #1
0
 public void newObject(String modelId, String parentPid) {
   // bind object editor ui
   this.modelId = modelId;
   this.parentPid = parentPid;
   wizard.setShowButtons(false);
   wizard.moveAt(newDigObjectStep);
 }
Example #2
0
 @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);
 }
Example #3
0
 public DigitalObjectCreator(ClientMessages i18n, PlaceController places) {
   this.i18n = i18n;
   this.places = places;
   newDigObjectStep = new NewDigObjectStep();
   wizard = new Wizard(i18n, newDigObjectStep, Wizard.emptyStep());
 }