Bug 38317 Add getter/setter templates.
Add template support to the code generation pref panel for getter and setter method bodies.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeTemplateBlock.java
fCodeTemplateTree.selectElements(new StructuredSelection(template));
		}
	}
		
	private void import_() {
		FileDialog dialog= new FileDialog(getShell());
		dialog.setText(PreferencesMessages.getString("CodeTemplateBlock.import.title")); 
		dialog.setFilterExtensions(new String[] {PreferencesMessages.getString("CodeTemplateBlock.import.extension")}); 
		String path= dialog.open();
		if (path != null) {
			try {
				fTemplates.addFromFile(new File(path), false);
			} catch (CoreException e) {
				openReadErrorDialog(e);
			}
			fCodeTemplateTree.refresh();
		}
	}
	
	private void exportAll() {
		export(fTemplates);	
	}
	private void export(List selected) {
		TemplateSet templateSet= new TemplateSet(fTemplates.getTemplateTag());
		for (int i= 0; i < selected.size(); i++) {
			Object curr= selected.get(i);
			if (curr instanceof Template) {
				addToTemplateSet(templateSet, (Template) curr);
			} else {
				Template[] templates= getTemplateOfCategory(curr == COMMENT_NODE);