TemplatePersistenceData data= datas[i]; fTemplates.add(data);
updateTemplate(datas[i]);
	private void import_() {		FileDialog dialog= new FileDialog(getShell());		dialog.setText(PreferencesMessages.getString("CodeTemplateBlock.import.title")); //$NON-NLS-1$		dialog.setFilterExtensions(new String[] {PreferencesMessages.getString("CodeTemplateBlock.import.extension")}); //$NON-NLS-1$		String path= dialog.open();				if (path == null)			return;				try {			TemplateReaderWriter reader= new TemplateReaderWriter();			File file= new File(path);			if (file.exists()) {				Reader input= new FileReader(file);				TemplatePersistenceData[] datas= reader.read(input);				for (int i= 0; i < datas.length; i++) {					TemplatePersistenceData data= datas[i];					fTemplates.add(data);				}			}			fCodeTemplateTree.refresh();		} catch (FileNotFoundException e) {			openReadErrorDialog(e);		} catch (SAXException e) {			openReadErrorDialog(e);		} catch (IOException e) {			openReadErrorDialog(e);		}	}