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
public static final int SWITCH_PAGE= 10;
	
	private final ListDialogField fAccessRulesList;
	private final SelectionButtonDialogField fCombineRulesCheckbox;
	private final CPListElement fCurrElement;
	
	private final IJavaProject fProject;
	private final boolean fParentCanSwitchPage;
	
	private static final int IDX_ADD= 0;
	private static final int IDX_EDIT= 1;
	private static final int IDX_UP= 3;
	private static final int IDX_DOWN= 4;
	private static final int IDX_REMOVE= 6;
	
	public AccessRulesDialog(Shell parent, CPListElement entryToEdit, IJavaProject project, boolean parentCanSwitchPage) {
		super(parent);
		setShellStyle(getShellStyle() | SWT.RESIZE);
		
		fCurrElement= entryToEdit;
		fProject= project; 
		setTitle(NewWizardMessages.AccessRulesDialog_title);