class DefaultNewResourceHandler implements NewResourceHandler {

    protected RemoteCallback<Path> getSuccessCallback(final NewResourcePresenter presenter) {
        return new RemoteCallback<Path>() {

            @Override
            public void callback(final Path path) {
                busyIndicatorView.hideBusyIndicator();
                presenter.complete();
                notifySuccess();
                newResourceSuccessEvent.fire(new NewResourceSuccessEvent(path));
                placeManager.goTo(path);
            }
        };
    }

      DefaultNewResourceHandler(final WorkspaceProjectContext context,
                              final Caller<KieModuleService> moduleService,
                              final Caller<ValidationService> validationService,
                              final PlaceManager placeManager,
                              final Event<NotificationEvent> notificationEvent,
                              final BusyIndicatorView busyIndicatorView);
    public  DefaultNewResourceHandler();

}