gpt4 book ai didi

org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup.setClosable()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-16 16:02:40 27 4
gpt4 key购买 nike

本文整理了Java中org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup.setClosable()方法的一些代码示例,展示了YesNoCancelPopup.setClosable()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YesNoCancelPopup.setClosable()方法的具体详情如下:
包路径:org.uberfire.ext.widgets.common.client.common.popups.YesNoCancelPopup
类名称:YesNoCancelPopup
方法名:setClosable

YesNoCancelPopup.setClosable介绍

暂无

代码示例

代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-datasource-mgmt-client

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();
}

代码示例来源: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.kie.workbench.screens/kie-wb-common-datasource-mgmt-client

private static void showOkButtonPopup( final String title, final String message ) {
  YesNoCancelPopup yesNoCancelPopup = YesNoCancelPopup.newYesNoCancelPopup( title,
      message,
      new Command() {
        @Override public void execute() {
        }
      },
      CommonConstants.INSTANCE.OK(),
      null,
      null,
      null,
      null );
  yesNoCancelPopup.setClosable( false );
  yesNoCancelPopup.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.uberfire/uberfire-asset-mgmt-client

);
yesNoCancelPopup.setClosable(false);
yesNoCancelPopup.show();

代码示例来源:origin: org.kie.workbench.widgets/kie-wb-metadata-widget

@UiHandler("unlock")
  public void onForceUnlock(ClickEvent e) {
    final YesNoCancelPopup yesNoCancelPopup =
        YesNoCancelPopup.newYesNoCancelPopup(MetadataConstants.INSTANCE.ForceUnlockConfirmationTitle(),
                           MetadataConstants.INSTANCE.ForceUnlockConfirmationText(metadata.getLockInfo().lockedBy()),
                           new Command() {
                             @Override
                             public void execute() {
                               forceUnlockHandler.run();
                               unlock.setEnabled(false);
                             }
                           },
                           new Command() {

                             @Override
                             public void execute() {
                             }
                           },
                           null);
    yesNoCancelPopup.setClosable(false);
    yesNoCancelPopup.show();
  }
}

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com