/* * (non-Javadoc) * * @see org.eclipse.jface.dialogs.Dialog#okPressed() */ protected void okPressed() { super.okPressed(); try { new ComponentFolderManager() .copyComponent( ResourcesPlugin.getWorkspace().getRoot().getProject(PluginConstant.COMPONENT_PROJECT), path, this.getValue()); } catch (CoreException e) { // e.printStackTrace(); org.talend.componentdesigner.exception.ExceptionHandler.process(e); } catch (IOException e) { // e.printStackTrace(); org.talend.componentdesigner.exception.ExceptionHandler.process(e); } }