@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); } }
@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); }
@Override public void showBusyIndicator( final String message ) { busyIndicatorView.showBusyIndicator( message ); }
@Override public void hideBusyIndicator() { busyIndicatorView.hideBusyIndicator(); }
@Override public void execute( final String commitMessage ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); defaultEditorService.call( getSaveSuccessCallback(), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).save( path, view.getContent(), metadataWidget.getContent(), commitMessage ); } } );
@Override public void callback( final Path restored ) { //TODO {porcelli} close current? busyIndicatorView.hideBusyIndicator(); restoreEvent.fire( new RestoreEvent( restored ) ); } };
@Override public void create( final Path contextPath, final String baseFileName, final NewResourcePresenter presenter ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); dslTextService.call( getSuccessCallback( presenter ), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( contextPath, buildFileName( resourceType, baseFileName ), "", "" ); }
@Override public void callback( final Path path ) { busyIndicatorView.hideBusyIndicator(); notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemRenamedSuccessfully() ) ); } };
@Override public void create( final Path contextPath, final String baseFileName, final NewResourcePresenter presenter ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); enumService.call( getSuccessCallback( presenter ), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( contextPath, buildFileName( resourceType, baseFileName ), "", "" ); }
@Override public void callback( final Path path ) { busyIndicatorView.hideBusyIndicator(); notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemCopiedSuccessfully() ) ); } };
@Override public void create( final Path contextPath, final String baseFileName, final NewResourcePresenter presenter ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); drlTextService.call( getSuccessCallback( presenter ), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( contextPath, buildFileName( resourceType, baseFileName ), "", "" ); }
@Override public void callback( final Path path ) { busyIndicatorView.hideBusyIndicator(); view.setDirty( false ); notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemSavedSuccessfully() ) ); } };
@Override public void execute( final String commitMessage ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); defaultEditorService.call( getSaveSuccessCallback(), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).save( path, view.getContent(), metadataWidget.getContent(), commitMessage ); } } );
@Override public void callback( final Path path ) { busyIndicatorView.hideBusyIndicator(); view.setDirty( false ); notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemSavedSuccessfully() ) ); } };
public void save( final String baseFileName, final Path contextPath, final GuidedDecisionTable52 model, final Command postSaveCommand ) { busyIndicatorView.showBusyIndicator( CommonConstants.INSTANCE.Saving() ); service.call( getSuccessCallback( newResourcePresenter, postSaveCommand ), new HasBusyIndicatorDefaultErrorCallback( busyIndicatorView ) ).create( contextPath, buildFileName( resourceType, baseFileName ), model, "" ); }
@Override public void callback( final Void response ) { busyIndicatorView.hideBusyIndicator(); notification.fire( new NotificationEvent( CommonConstants.INSTANCE.ItemDeletedSuccessfully() ) ); placeManager.closePlace( new PathPlaceRequest( path ) ); } };
@Override public void create(Path context, String baseFileName, NewResourcePresenter presenter) { busyIndicatorView.showBusyIndicator(CommonConstants.INSTANCE.Saving()); service.call( getSuccessCallback(presenter), new HasBusyIndicatorDefaultErrorCallback(busyIndicatorView) ).create(context, buildFileName(resourceType, baseFileName), new Scenario(), ""); }
@Override public void callback(final Path path) { busyIndicatorView.hideBusyIndicator(); presenter.complete(); notifySuccess(); executePostSaveCommand(); final PlaceRequest place = new PathPlaceRequest(path); placeManager.goTo(place); }