Bug 76643 Code Formater UI: Allow multi-selection in Line Wrapping tree
20041020 To configure the line wrapping settings it is currently necessary to do that separatly for each setting. It would be nice if this could be done once for all or for a subset. The idea would be to allow multiple selection of the tree (including parent nodes) and allow to use the configuration controls on the bottom. If the selected entries have non-compatible settings, the control should take the most chosen but show the conflict shomehow (e.g. by an extra label or symbol or different background color) It is ok to not show a preview when multiple nodes are selected (or merge as done on the 'white space' page
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/LineWrappingTabPage.java
/*******************************************************************************
 * Copyright (c) 2000, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.preferences.formatter;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Observable;
import java.util.Observer;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;