Package org.kie.uberfire.client.common

Examples of org.kie.uberfire.client.common.YesNoCancelPopup


            navigator.setWidget( row, ++col, new Button( CoreConstants.INSTANCE.Revert() ) {{
                setType( ButtonType.DANGER );
                addClickHandler( new ClickHandler() {
                    @Override
                    public void onClick( final ClickEvent event ) {
                        final YesNoCancelPopup yesNoCancelPopup = YesNoCancelPopup.newYesNoCancelPopup( CommonConstants.INSTANCE.Warning(),
                                                                                                        CoreConstants.INSTANCE.ConfirmStateRevert(),
                                                                                                        new Command() {
                                                                                                            @Override
                                                                                                            public void execute() {
                                                                                                                onRevertCommand.execute( dataContent );
                                                                                                            }
                                                                                                        },
                                                                                                        new Command() {
                                                                                                            @Override
                                                                                                            public void execute() {
                                                                                                            }
                                                                                                        },
                                                                                                        null
                                                                                                      );
                        yesNoCancelPopup.setCloseVisible( false );
                        yesNoCancelPopup.show();
                    }
                } );
            }} );
        }
View Full Code Here

TOP

Related Classes of org.kie.uberfire.client.common.YesNoCancelPopup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.