Bug 82083 Configure Workspace Settings... for Code Formatter jumps to Code Style
I20041221-0800 On a java project without project-specific Code Formatter settings, open the "Code Formatter" properties page and press "Configure Workspace Settings..." The "Code Style" preferences page is opened (expected: guess what ;-).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/CodeFormatterPreferencePage.java
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
	 */
	public void createControl(Composite parent) {
		fConfigurationBlock= new CodeFormatterConfigurationBlock(getProject());
		
		super.createControl(parent);
		WorkbenchHelp.setHelp(getControl(), IJavaHelpContextIds.CODEFORMATTER_PREFERENCE_PAGE);
	}
	protected Control createPreferenceContent(Composite composite) {
		return fConfigurationBlock.createContents(composite);
	}
	
	protected boolean hasProjectSpecificOptions() {
		return fConfigurationBlock.hasProjectSpecificOptions();
	}
	
	protected void openWorkspacePreferences() {
		CodeStylePreferencePage page= new CodeStylePreferencePage();
		PreferencePageSupport.showPreferencePage(getShell(), PREF_ID, page);
	}
	
	/* (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.DialogPage#dispose()
	 */
	public void dispose() {
		if (fConfigurationBlock != null) {
			fConfigurationBlock.dispose();
		}
		super.dispose();
	}