Bug 81100 Code formatter page is too large on new workspace [formatter]
Using I200412142000 1. Start eclipse with a fresh workspace. 2. Go to the code formatter page 3. Click on show Note: the page uses the full height of the screen. It would be nice to have a a 'resonable' and limited size. The large size might come from the white space tab where the preview table is very large.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ModifyDialog.java
* @see org.eclipse.jface.dialogs.Dialog#okPressed()
	 */
	protected void okPressed() {
		 if (fProfile instanceof BuiltInProfile) {
		 	CustomProfile newProfile= new CustomProfile("", fWorkingValues, ProfileVersioner.CURRENT_VERSION); 
		 	RenameProfileDialog dialog= new RenameProfileDialog(getShell(), newProfile, fProfileManager);
		 	if (dialog.open() != Window.OK) {
		 		return;
		 	}
		 	fProfileManager.addProfile(newProfile);
		 } else {
		 	fProfile.setSettings(fWorkingValues);
		 }
		super.okPressed();
	}
    
    
	
	private final void addTabPage(TabFolder tabFolder, String title, ModifyDialogTabPage tabPage) {
		final TabItem tabItem= new TabItem(tabFolder, SWT.NONE);
		applyDialogFont(tabItem.getControl());
		tabItem.setText(title);
		tabItem.setData(tabPage);
		tabItem.setControl(tabPage.createContents(tabFolder));
		fTabPages.add(tabPage);
	}
	
	
}