Class ValidationPopup
- java.lang.Object
-
- org.kie.workbench.common.widgets.client.popups.validation.ValidationPopup
-
- All Implemented Interfaces:
ValidationPopupView.Presenter
@Dependent public class ValidationPopup extends Object implements ValidationPopupView.Presenter
-
-
Constructor Summary
Constructors Constructor Description ValidationPopup(ValidationPopupView view, ValidationMessageTranslatorUtils validationMessageTranslatorUtils, org.jboss.errai.ui.client.local.spi.TranslationService translationService, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetValidatedCallbackgetValidationCallback(org.uberfire.mvp.Command validationFinishedCommand)voidinit()voidonCancelButtonClicked()voidonYesButtonClicked()voidshowCopyValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)voidshowDeleteValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)voidshowMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages)voidshowSaveValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)voidshowTranslatedMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages)
-
-
-
Constructor Detail
-
ValidationPopup
@Inject public ValidationPopup(ValidationPopupView view, ValidationMessageTranslatorUtils validationMessageTranslatorUtils, org.jboss.errai.ui.client.local.spi.TranslationService translationService, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent)
-
-
Method Detail
-
init
@PostConstruct public void init()
-
showMessages
public void showMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages)
-
getValidationCallback
public AssetValidatedCallback getValidationCallback(org.uberfire.mvp.Command validationFinishedCommand)
-
showTranslatedMessages
public void showTranslatedMessages(List<org.guvnor.common.services.shared.validation.model.ValidationMessage> messages)
-
showCopyValidationMessages
public void showCopyValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)
-
showSaveValidationMessages
public void showSaveValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)
-
showDeleteValidationMessages
public void showDeleteValidationMessages(org.uberfire.mvp.Command yesCommand, org.uberfire.mvp.Command cancelCommand, List<org.guvnor.common.services.shared.validation.model.ValidationMessage> validationMessages)
-
onYesButtonClicked
public void onYesButtonClicked()
- Specified by:
onYesButtonClickedin interfaceValidationPopupView.Presenter
-
onCancelButtonClicked
public void onCancelButtonClicked()
- Specified by:
onCancelButtonClickedin interfaceValidationPopupView.Presenter
-
-