Bug 93430 Access rules - 'Combine rules...' checkbox does not reflect status on required project
Build: I20050426-1700 Scenario: - create new project 'RequiredProject'; - create new project 'DependentProject'; - open the latter's properties; in the 'Java Build Path/Projects' tab, add RequiredProject; - expand the newly created node and select the 'Access rules: (No restrictions)' line; - click 'Edit...'; - check the 'Combine rules...' checkbox; - click 'OK'; notice the 'Access rules: Using rules of child entries' label; - click 'Edit...' again; - the 'Combine...' checkbox should be checked, but it isn't. As a side effect, I would expect the removal of this property to be difficult (else than by recreating the project from scratch).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/AccessRulesDialog.java
fAccessRulesList= createListContents(entryToEdit);
		
		fCombineRulesCheckbox= new SelectionButtonDialogField(SWT.CHECK);
		fCombineRulesCheckbox.setLabelText(NewWizardMessages.AccessRulesDialog_combine_label);
		
		fParentCanSwitchPage= parentCanSwitchPage;
	}
	
	
	private ListDialogField createListContents(CPListElement entryToEdit) {
		String label= NewWizardMessages.AccessRulesDialog_rules_label; 
		String[] buttonLabels= new String[] {
				NewWizardMessages.AccessRulesDialog_rules_add, 
				NewWizardMessages.AccessRulesDialog_rules_edit, 
				null,
				NewWizardMessages.AccessRulesDialog_rules_up, 
				NewWizardMessages.AccessRulesDialog_rules_down, 
				null,
				NewWizardMessages.AccessRulesDialog_rules_remove
		};
		
		TypeRestrictionAdapter adapter= new TypeRestrictionAdapter();
		AccessRulesLabelProvider labelProvider= new AccessRulesLabelProvider();
		
		ListDialogField patternList= new ListDialogField(adapter, buttonLabels, labelProvider);
		patternList.setDialogFieldListener(adapter);
		patternList.setLabelText(label);
		patternList.setRemoveButtonIndex(IDX_REMOVE);
		patternList.setUpButtonIndex(IDX_UP);