Bug 274262 [History] Allow to never prune history
I20090429-0100. I never want to loose my history and I never want to waste time on shutdown (or start up) to do any history pruning. Please add a preference to disable pruning entirely.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/FileStatesPage.java
return;
        }
        if (validateLongTextEntry(longevityText) == FAILED_VALUE) {
            setValid(false);
            return;
        }
        if (validateMaxFileStates() == FAILED_VALUE) {
            setValid(false);
            return;
        }
        if (validateMaxFileStateSize() == FAILED_VALUE) {
            setValid(false);
            return;
        }
        setValid(true);
        setErrorMessage(null);
    }
    /* 
     * Create the contents control for the workspace file states.
     * @returns Control
     * @param parent Composite
     */
    protected Control createContents(Composite parent) {
    	PlatformUI.getWorkbench().getHelpSystem().setHelp(parent,
                IIDEHelpContextIds.FILE_STATES_PREFERENCE_PAGE);
        
        Composite composite = new Composite(parent, SWT.NONE);
        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        composite.setLayout(layout);