public void execute() {
getView().closeDialog();
getMessageCenter().notify(
new Message(MSG.widget_resourceFactoryWizard_importSubmitted(getChildType().getName()), Severity.Info));
ImportResourceRequest request = new ImportResourceRequest(getChildType().getId(), getParentResource().getId(),
getNewResourceConfiguration());
ResourceGWTServiceAsync resourceService = GWTServiceLookup.getResourceService(300000);
final Duration duration = new Duration();
resourceService.manuallyAddResource(request, new AsyncCallback<ImportResourceResponse>() {