class DefaultNewResourceHandler implements NewResourceHandler {

    @Override
    public void acceptContext(final Callback<Boolean, Void> callback) {
        callback.onSuccess(context != null && context.getActiveModule().isPresent());
    }

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

}