Bug 101619 [formatter] Formatter profiles store even though I clicked 'Cancel'
I20050624-0010 1. open the formatter preference page 2. switch from existing profile p1 to another, lets say p2 3. click 'Cancel' Expected: my formatter profile is still p1 but it is now p2.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/CodeFormatterConfigurationBlock.java
/**
	 * Some Java source code used for preview.
	 */
	private final static String PREVIEW=
		"/**\n* " + 
		FormatterMessages.CodingStyleConfigurationBlock_preview_title + 
		"\n*/\n\n" + 
		"package mypackage; import java.util.LinkedList; public class MyIntStack {" + 
		"private final LinkedList fStack;" + 
		"public MyIntStack(){fStack= new LinkedList();}" + 
		"public int pop(){return ((Integer)fStack.removeFirst()).intValue();}" + 
		"public void push(int elem){fStack.addFirst(new Integer(elem));}" + 
		"public boolean isEmpty() {return fStack.isEmpty();}" + 
		"}"; 
	
	/**
	 * The GUI controls
	 */
	protected Composite fComposite;
	protected Combo fProfileCombo;
	protected Button fEditButton;
	protected Button fRenameButton;
	protected Button fDeleteButton;
	protected Button fNewButton;
	protected Button fLoadButton;
	protected Button fSaveButton;
	
	/**
	 * The ProfileManager, the model of this page.
	 */