public ScheduleRecurrenceDialog(
     PromptDialogBox parentDialog,
     JsJob jsJob,
     IDialogCallback callback,
     boolean hasParams,
     boolean isEmailConfValid,
     final ScheduleDialogType type) {
   super(
       type,
       type != ScheduleDialogType.BLOCKOUT
           ? Messages.getString("editSchedule")
           : Messages.getString("editBlockoutSchedule"),
       null,
       false,
       true); //$NON-NLS-1$ //$NON-NLS-2$
   isBlockoutDialog = (type == ScheduleDialogType.BLOCKOUT);
   setCallback(callback);
   this.editJob = jsJob;
   this.parentDialog = parentDialog;
   constructDialog(
       jsJob.getFullResourceName(),
       jsJob.getOutputPath(),
       jsJob.getJobName(),
       hasParams,
       isEmailConfValid,
       jsJob);
 }