Bug 4916 Potential IDE freeze on Template Preference Page
Comments from Adam Kiezun: SEVERE: 1. go to template pref page. 2. select the first one 3. edit the name - empty the field and then put a single space whole IDE freezes (infinite loop?)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/TemplatePreferencePage.java
layout.marginWidth= 0;
		
		parent.setLayout(layout);		
		TabFolder folder= new TabFolder(parent, SWT.NONE);
		folder.setLayout(new TabFolderLayout());	
		folder.setLayoutData(new GridData(GridData.FILL_BOTH));
		Composite firstPage= new Composite(folder, SWT.NONE);
		layout= new GridLayout();
		layout.numColumns= 2;
		firstPage.setLayout(layout);		
		
		TabItem item= new TabItem(folder, SWT.NONE);
		item.setText(TemplateMessages.getString("TemplatePreferencePage.tab.edit")); 
		item.setImage(JavaPluginImages.get(JavaPluginImages.IMG_OBJS_TEMPLATE));
		item.setControl(firstPage);
		
		fTableViewer= new CheckboxTableViewer(firstPage, SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION);
		Table table= fTableViewer.getTable();
		
		GridData data= new GridData(GridData.FILL_BOTH);
		data.widthHint= convertWidthInCharsToPixels(80);
		data.heightHint= convertHeightInCharsToPixels(10);
		fTableViewer.getTable().setLayoutData(data);
				
		table.setHeaderVisible(true);
		table.setLinesVisible(true);		
		TableLayout tableLayout= new TableLayout();
		table.setLayout(tableLayout);
		
		TableColumn column1= table.getColumn(0);