Package org.kie.uberfire.client.callbacks

Examples of org.kie.uberfire.client.callbacks.HasBusyIndicatorDefaultErrorCallback


    @Override
    protected void loadContent() {
        view.showLoading();
        categoryService.call( getModelSuccessCallback(),
                              new HasBusyIndicatorDefaultErrorCallback( view ) ).getContentByRoot( versionRecordManager.getCurrentPath() );

    }
View Full Code Here


                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String commitMessage ) {
                                                 view.showSaving();
                                                 categoryService.call( getSaveSuccessCallback(),
                                                                       new HasBusyIndicatorDefaultErrorCallback( view ) ).save( versionRecordManager.getCurrentPath(),
                                                                                                                                view.getContent(),
                                                                                                                                metadata,
                                                                                                                                commitMessage );
                                             }
                                         } );
View Full Code Here

                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String commitMessage ) {
                                                 view.showSaving();
                                                 service.call( getSaveSuccessCallback(),
                                                               new HasBusyIndicatorDefaultErrorCallback( view ) ).save( versionRecordManager.getCurrentPath(),
                                                                                                                        scenario,
                                                                                                                        metadata,
                                                                                                                        commitMessage );
                                             }
                                         } );
View Full Code Here

                        final NewResourcePresenter presenter ) {
        busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() );

        service.call(
                getSuccessCallback( presenter ),
                new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( pkg.getPackageTestResourcesPath(),
                                                                                        buildFileName( baseFileName,
                                                                                                       resourceType ),
                                                                                        new Scenario( pkg.getPackageName(),
                                                                                                      baseFileName ),
                                                                                        "" );
View Full Code Here

                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String comment ) {
                                                 view.showSaving();
                                                 scoreCardEditorService.call( getSaveSuccessCallback(),
                                                                              new HasBusyIndicatorDefaultErrorCallback( view ) ).save( versionRecordManager.getCurrentPath(),
                                                                                                                                       view.getModel(),
                                                                                                                                       metadata,
                                                                                                                                       comment );
                                             }
                                         }
View Full Code Here

                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String comment ) {
                                                 view.showSaving();
                                                 globalsEditorService.call( getSaveSuccessCallback(),
                                                                            new HasBusyIndicatorDefaultErrorCallback( view ) ).save( versionRecordManager.getCurrentPath(),
                                                                                                                                     model,
                                                                                                                                     metadata,
                                                                                                                                     comment );
                                             }
                                         }
View Full Code Here

                        final NewResourcePresenter presenter ) {
        final GuidedDecisionTree model = new GuidedDecisionTree();
        model.setTreeName( baseFileName );
        busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() );
        service.call( getSuccessCallback( presenter ),
                      new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( pkg.getPackageMainResourcesPath(),
                                                                                              buildFileName( baseFileName,
                                                                                                             resourceType ),
                                                                                              model,
                                                                                              "" );
    }
View Full Code Here

                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String comment ) {
                                                 view.showSaving();
                                                 service.call( getSaveSuccessCallback(),
                                                               new HasBusyIndicatorDefaultErrorCallback( view ) ).save( versionRecordManager.getCurrentPath(),
                                                                                                                        model,
                                                                                                                        metadata,
                                                                                                                        comment );
                                             }
                                         }
View Full Code Here

                    new CommandWithCommitMessage() {
                        @Override
                        public void execute(final String commitMessage) {
                            view.showBusyIndicator(CommonConstants.INSTANCE.Saving());
                            service.call(getSaveSuccessCallback(),
                                    new HasBusyIndicatorDefaultErrorCallback(view)).save(versionRecordManager.getCurrentPath(),
                                    view.getContent(),
                                    metadata,
                                    commitMessage);

                        }
View Full Code Here

                new CommandWithCommitMessage() {
                    @Override
                    public void execute(final String commitMessage) {
                        view.showBusyIndicator(CommonConstants.INSTANCE.Saving());
                        service.call(getSaveSuccessCallback(),
                                new HasBusyIndicatorDefaultErrorCallback(view)).save(
                                versionRecordManager.getCurrentPath(),
                                model,
                                metadata,
                                commitMessage);
                    }
View Full Code Here

TOP

Related Classes of org.kie.uberfire.client.callbacks.HasBusyIndicatorDefaultErrorCallback

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.