本文整理了Java中org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup.clearScrollHeight()
方法的一些代码示例,展示了YesNoCancelPopup.clearScrollHeight()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YesNoCancelPopup.clearScrollHeight()
方法的具体详情如下:
包路径:org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup
类名称:YesNoCancelPopup
方法名:clearScrollHeight
暂无
代码示例来源:origin: org.kie.workbench/kie-wb-common-ala-ui-client
private void showNotificationPopup(final String title,
final String message) {
YesNoCancelPopup popup = newNotificationPopup(title,
message);
popup.setClosable(false);
popup.clearScrollHeight();
popup.show();
}
代码示例来源:origin: org.kie.workbench/kie-wb-common-ala-ui-client
public void showYesNoPopup(final String title,
final String message,
final Command yesCommand,
final Command noCommand) {
YesNoCancelPopup popup = newYesNoPopup(title,
message,
yesCommand,
noCommand);
popup.setClosable(false);
popup.clearScrollHeight();
popup.show();
}
代码示例来源:origin: org.guvnor/guvnor-ala-ui-client
public void showYesNoPopup(final String title,
final String message,
final Command yesCommand,
final Command noCommand) {
YesNoCancelPopup popup = newYesNoPopup(title,
message,
yesCommand,
noCommand);
popup.setClosable(false);
popup.clearScrollHeight();
popup.show();
}
代码示例来源:origin: org.guvnor/guvnor-ala-ui-client
private void showNotificationPopup(final String title,
final String message) {
YesNoCancelPopup popup = newNotificationPopup(title,
message);
popup.setClosable(false);
popup.clearScrollHeight();
popup.show();
}
代码示例来源:origin: org.guvnor/guvnor-ala-ui-client
private void verifyPopupWasShown(YesNoCancelPopup popup) {
verify(popup,
times(1)).setClosable(false);
verify(popup,
times(1)).clearScrollHeight();
verify(popup,
times(1)).show();
}
}
代码示例来源:origin: org.kie.workbench/kie-wb-common-ala-ui-client
private void verifyPopupWasShown(YesNoCancelPopup popup) {
verify(popup,
times(1)).setClosable(false);
verify(popup,
times(1)).clearScrollHeight();
verify(popup,
times(1)).show();
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-server-ui-client
@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();
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-server-ui-client
@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();
}
代码示例来源:origin: org.uberfire/uberfire-ssh-client
@EventHandler("delete")
public void onDelete(ClickEvent event) {
YesNoCancelPopup popupup = YesNoCancelPopup.newYesNoCancelPopup(translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDelete),
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDeleteMessage),
null, null, null,
() -> {
},
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplCancel),
ButtonType.DEFAULT,
() -> presenter.notifyDelete(),
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDelete),
ButtonType.DANGER);
popupup.setSize(ModalSize.SMALL);
popupup.clearScrollHeight();
popupup.show();
}
}
代码示例来源:origin: kiegroup/appformer
@EventHandler("delete")
public void onDelete(ClickEvent event) {
YesNoCancelPopup popupup = YesNoCancelPopup.newYesNoCancelPopup(translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDelete),
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDeleteMessage),
null, null, null,
() -> {
},
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplCancel),
ButtonType.DEFAULT,
() -> presenter.notifyDelete(),
translationService.getTranslation(AppformerSSHConstants.SSHKeyEditorViewImplDelete),
ButtonType.DANGER);
popupup.setSize(ModalSize.SMALL);
popupup.clearScrollHeight();
popupup.show();
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-workbench-client
});
result.clearScrollHeight();
result.show();
return;
内容来源于网络,如有侵权,请联系作者删除!