Пример #1
0
 @Override
 protected void onCancel() {
   super.onCancel();
   if (transientDatasourceHandler != null) {
     transientDatasourceHandler.removeTransientDatasource();
   }
 }
Пример #2
0
  @Override
  protected void onBind() {
    super.onBind();
    csvFormatStepPresenter.bind();
    xmlFormatStepPresenter.bind();
    spssFormatStepPresenter.bind();
    limesurveyStepPresenter.bind();
    restStepPresenter.bind();
    comparedDatasourcesReportPresenter.bind();

    comparedDatasourcesReportPresenter.allowIgnoreAllModifications(false);

    setInSlot(Slots.Destination, destinationSelectionStepPresenter);
    setInSlot(Slots.Unit, unitSelectionStepPresenter);
    setInSlot(Slots.Values, datasourceValuesStepPresenter);
    setInSlot(Slots.Archive, archiveStepPresenter);
    setInSlot(Slots.Limesurvey, limesurveyStepPresenter);
    setInSlot(Slots.Rest, restStepPresenter);

    getView().setUnitSelectionStepInHandler(new UnitSelectionStepInHandler());
    getView().setComparedDatasourcesReportDisplay(comparedDatasourcesReportPresenter.getView());
    getView()
        .setComparedDatasourcesReportStepInHandler(
            transientDatasourceHandler = new TransientDatasourceHandler());
    getView().setDatasourceValuesStepInHandler(new DatasourceValuesHandler());

    addEventHandlers();
  }
Пример #3
0
 @Override
 protected void onUnbind() {
   super.onUnbind();
   csvFormatStepPresenter.unbind();
   xmlFormatStepPresenter.unbind();
   spssFormatStepPresenter.unbind();
   limesurveyStepPresenter.unbind();
   restStepPresenter.unbind();
 }