use of org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup in project kie-wb-common by kiegroup.
the class ContainerView method confirmRemove.
@Override
public void confirmRemove(final Command command) {
final YesNoCancelPopup result = YesNoCancelPopup.newYesNoCancelPopup(getConfirmRemovePopupTitle(), getConfirmRemovePopupMessage(), command, new Command() {
@Override
public void execute() {
}
}, null);
result.clearScrollHeight();
result.show();
}
use of org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup in project kie-wb-common by kiegroup.
the class ServerTemplateView method confirmRemove.
@Override
public void confirmRemove(final Command command) {
final YesNoCancelPopup result = YesNoCancelPopup.newYesNoCancelPopup(getTemplateRemovePopupTitle(), getTemplateRemovePopupText(), command, new Command() {
@Override
public void execute() {
}
}, null);
result.clearScrollHeight();
result.show();
}
use of org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup in project kie-wb-common by kiegroup.
the class PopupsUtil method showYesNoPopup.
public void showYesNoPopup(final String title, final String message, final Command yesCommand, final String yesButtonText, final ButtonType yesButtonType, final Command noCommand, final String noButtonText, final ButtonType noButtonType) {
YesNoCancelPopup yesNoCancelPopup = YesNoCancelPopup.newYesNoCancelPopup(title, message, yesCommand, yesButtonText, yesButtonType, noCommand, noButtonText, noButtonType, null, null, null);
yesNoCancelPopup.setClosable(false);
yesNoCancelPopup.show();
}
use of org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup in project kie-wb-common by kiegroup.
the class AdvancedAnnotationListEditorViewImpl method showYesNoDialog.
@Override
public void showYesNoDialog(String message, Command yesCommand, Command noCommand, Command cancelCommand) {
YesNoCancelPopup yesNoCancelPopup = YesNoCancelPopup.newYesNoCancelPopup(CommonConstants.INSTANCE.Information(), message, yesCommand, noCommand, cancelCommand);
yesNoCancelPopup.setClosable(false);
yesNoCancelPopup.show();
}
use of org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup in project kie-wb-common by kiegroup.
the class DataObjectBrowserViewImpl method showYesNoCancelPopup.
@Override
public void showYesNoCancelPopup(final String title, final String content, final Command yesCommand, final String yesButtonText, final ButtonType yesButtonType, final Command noCommand, final String noButtonText, final ButtonType noButtonType, final Command cancelCommand, final String cancelButtonText, final ButtonType cancelButtonType) {
YesNoCancelPopup yesNoCancelPopup = YesNoCancelPopup.newYesNoCancelPopup(title, content, yesCommand, yesButtonText, yesButtonType, noCommand, noButtonText, noButtonType, cancelCommand, cancelButtonText, cancelButtonType);
yesNoCancelPopup.setClosable(false);
yesNoCancelPopup.show();
}
Aggregations