Bug 310665 [Browser] 'Web Browser' preference page ignores cancellation
I20100426-0852 1. Window > Preferences > General > Web Browser 2. In Windows XP, I see "Default system web browser", "Firefox", and "Internet Explorer". 3. Select IE. Click the 'Remove' button. 4. Click 'Cancel'. 5. Redo step 1. 6. Window > Preferences 7. IE is gone. :(
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/BrowserDescriptorWorkingCopy.java
}
	/* (non-Javadoc)
	 * @see org.eclipse.ui.internal.browser.IBrowserDescriptorWorkingCopy#setParameters(java.lang.String)
	 */
	public void setParameters(String params) {
		this.parameters = params;
	}
	public boolean isWorkingCopy() {
		return true;
	}
	
	public IBrowserDescriptorWorkingCopy getWorkingCopy() {
		return this;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.ui.internal.browser.IBrowserDescriptorWorkingCopy#save()
	 */
	public IBrowserDescriptor save() {
		if (browser != null) {
			browser.setInternal(this);
			BrowserManager.getInstance().saveBrowsers();
		} else {
			browser = new BrowserDescriptor();
			browser.setInternal(this);
			BrowserManager.getInstance().addBrowser(browser);
		}
		return browser;
	}
}