Bug 111453 [preferences] Improve preview of enum constant formatting
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
public final String key;
		public final String name;
		public final String previewText;
		public final List children;
		
		public int index;
		public Category(String _key, String _previewText, String _name) {
			this.key= _key;
			this.name= _name;
			this.previewText= _previewText != null ? createPreviewHeader(_name) + _previewText : null; 
			children= new ArrayList();
		}
		
		/**
		 * @param _name Category name
		 */
		public Category(String _name) {
		    this(null, null, _name);
		}
		
		public String toString() {
			return name;
		}
	}
	
	private final static String PREF_CATEGORY_INDEX= JavaUI.ID_PLUGIN + "formatter_page.line_wrapping_tab_page.last_category_index";  
	
	
	private final class CategoryListener implements ISelectionChangedListener, IDoubleClickListener {