org.glassmaker.eclipse/org.glassmaker.ui.editor/src/main/java/org/glassmaker/ui/editor/wizards/NewCardTemplatesWizardPage.java
private Template getSelectedTemplate() {
		Template template = null;
		IStructuredSelection selection = (IStructuredSelection) fTableViewer.getSelection();

		if (selection.size() == 1) {
			template = (Template) selection.getFirstElement();
		}
		return template;
	}
private Template getSelectedTemplate() {
		Template template = null;
		IStructuredSelection selection = (IStructuredSelection) fTableViewer.getSelection();

		if (selection.size() == 1) {
			template = (Template) selection.getFirstElement();
		}
		return template;
	}
private Template getSelectedTemplate ( ) { Template template = null ; IStructuredSelection selection = ( IStructuredSelection ) fTableViewer . getSelection ( ) ; if ( selection . size ( ) == 1 ) { template = ( Template ) selection . getFirstElement ( ) ; } return template ; }
Get the currently selected template.

@return
Get the currently selected template .