protected void forceDeleteRuntime() { confirmAndExecute(translationService.getTranslation(RuntimePresenter_RuntimeConfirmForcedDeleteTitle), translationService.getTranslation(RuntimePresenter_RuntimeConfirmForcedDeleteMessage), () -> { popupHelper.showBusyIndicator(translationService.getTranslation(RuntimePresenter_RuntimeDeletingForcedMessage)); runtimeService.call(getDeleteRuntimeSuccessCallback(), getDefaultErrorCallback(true)).deleteRuntime(item.getRuntime().getKey(), true); } ); }
protected void forceDeleteRuntime() { confirmAndExecute(translationService.getTranslation(RuntimePresenter_RuntimeConfirmForcedDeleteTitle), translationService.getTranslation(RuntimePresenter_RuntimeConfirmForcedDeleteMessage), () -> { popupHelper.showBusyIndicator(translationService.getTranslation(RuntimePresenter_RuntimeDeletingForcedMessage)); runtimeService.call(getDeleteRuntimeSuccessCallback(), getDefaultErrorCallback(true)).deleteRuntime(item.getRuntime().getKey(), true); } ); }
protected void deleteRuntime() { confirmAndExecute(translationService.getTranslation(RuntimePresenter_RuntimeConfirmDeleteTitle), translationService.getTranslation(RuntimePresenter_RuntimeConfirmDeleteMessage), () -> { popupHelper.showBusyIndicator(translationService.getTranslation(RuntimePresenter_RuntimeDeletingMessage)); runtimeService.call(getDeleteRuntimeSuccessCallback(), getDeleteRuntimeErrorCallback()).deleteRuntime(item.getRuntime().getKey(), false); } ); }
protected void deleteRuntime() { confirmAndExecute(translationService.getTranslation(RuntimePresenter_RuntimeConfirmDeleteTitle), translationService.getTranslation(RuntimePresenter_RuntimeConfirmDeleteMessage), () -> { popupHelper.showBusyIndicator(translationService.getTranslation(RuntimePresenter_RuntimeDeletingMessage)); runtimeService.call(getDeleteRuntimeSuccessCallback(), getDeleteRuntimeErrorCallback()).deleteRuntime(item.getRuntime().getKey(), false); } ); }