Examples of HasBusyIndicatorDefaultErrorCallback


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

                                        @Override
                                        public void onFocus() {
                                            metadataWidget.showBusyIndicator( CommonConstants.INSTANCE.Loading() );
                                            metadataService.call( new MetadataSuccessCallback( metadataWidget,
                                                                                               isReadOnly ),
                                                                  new HasBusyIndicatorDefaultErrorCallback( metadataWidget ) ).getMetadata( path );
                                        }

                                        @Override
                                        public void onLostFocus() {
                                            //Nothing to do
View Full Code Here

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

                                                       new CommandWithFileNameAndCommitMessage() {
                                                           @Override
                                                           public void execute( final FileNameAndCommitMessage details ) {
                                                               busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Copying() );
                                                               copyService.call( getCopySuccessCallback(),
                                                                                 new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).copy( path,
                                                                                                                                                       details.getNewFileName(),
                                                                                                                                                       details.getCommitMessage() );
                                                           }
                                                       } );
                popup.show();
View Full Code Here

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

                                                           new CommandWithFileNameAndCommitMessage() {
                                                               @Override
                                                               public void execute( final FileNameAndCommitMessage details ) {
                                                                   busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Renaming() );
                                                                   renameService.call( getRenameSuccessCallback(),
                                                                                       new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).rename( path,
                                                                                                                                                               details.getNewFileName(),
                                                                                                                                                               details.getCommitMessage() );
                                                               }
                                                           } );
View Full Code Here

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

    public void assetDeleteEvent( String uri ) {
        vfsServices.call( new RemoteCallback<Path>() {
            @Override
            public void callback( final Path mypath ) {
                deleteService.call( getDeleteSuccessCallback( mypath ),
                                    new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).delete( mypath,
                                                                                                            "" );

            }
        } ).get( URIUtil.encode( uri ) );
    }
View Full Code Here

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

                    @Override
                    public void onFocus() {
                        metadataWidget.showBusyIndicator( CommonConstants.INSTANCE.Loading() );
                        metadataService.call( new MetadataSuccessCallback( metadataWidget,
                                                                           isReadOnly ),
                                              new HasBusyIndicatorDefaultErrorCallback( metadataWidget ) ).getMetadata( path );
                    }

                    @Override
                    public void onLostFocus() {
                        //Nothing to do
View Full Code Here

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

                                         new CommandWithCommitMessage() {
                                             @Override
                                             public void execute( final String commitMessage ) {
                                                 view.showBusyIndicator( CommonConstants.INSTANCE.Saving() );
                                                 enumService.call( getSaveSuccessCallback(),
                                                                   new HasBusyIndicatorDefaultErrorCallback( view ) ).save( path,
                                                                                                                            view.getContent(),
                                                                                                                            metadataWidget.getContent(),
                                                                                                                            commitMessage );
                                             }
                                         }
View Full Code Here

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

    public void create( final Package pkg,
                        final String baseFileName,
                        final NewResourcePresenter presenter ) {
        busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() );
        workItemsEditorService.call( getSuccessCallback( presenter ),
                                     new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( pkg.getPackageMainResourcesPath(),
                                                                                                             buildFileName( baseFileName,
                                                                                                                            resourceType ),
                                                                                                             "",
                                                                                                             "" );
    }
View Full Code Here

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

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

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

        makeMenuBar();

        view.showLoading();
        categoryService.call(getModelSuccessCallback(),
                new HasBusyIndicatorDefaultErrorCallback(view)).getContentByRoot(context.getActiveRepository().getRoot());
    }
View Full Code Here

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

                new CommandWithCommitMessage() {
                    @Override
                    public void execute(final String commitMessage) {
                        view.showSaving();
                        categoryService.call(getSaveSuccessCallback(),
                                new HasBusyIndicatorDefaultErrorCallback(view)).save(
                                path,
                                view.getContent(),
                                null,
                                commitMessage
                        );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.