GridData gridData= new GridData(); gridData.horizontalIndent= 20; fAddJavaDocTagsButton.setLayoutData(gridData);  final Button button2= fAddJavaDocTagsButton;  button.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { button2.setEnabled(button.getSelection()); }  public void widgetDefaultSelected(SelectionEvent e) {} });
createDependency(button, fAddJavaDocTagsButton);
	private Control createBehaviourPage(Composite parent) {		Composite composite= new Composite(parent, SWT.NULL);		GridLayout layout= new GridLayout(); layout.numColumns= 2;		composite.setLayout(layout);		String label= JavaUIMessages.getString("JavaEditorPreferencePage.closeStrings"); //$NON-NLS-1$		addCheckBox(composite, label, CompilationUnitEditor.CLOSE_STRINGS, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.skipClosingQuotes"); //$NON-NLS-1$		addCheckBox(composite, label, CompilationUnitEditor.SKIP_CLOSING_QUOTES, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.wrapStrings"); //$NON-NLS-1$		addCheckBox(composite, label, CompilationUnitEditor.WRAP_STRINGS, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.closeBrackets"); //$NON-NLS-1$		addCheckBox(composite, label, CompilationUnitEditor.CLOSE_BRACKETS, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.skipClosingBrackets"); //$NON-NLS-1$		addCheckBox(composite, label, CompilationUnitEditor.SKIP_CLOSING_BRACKETS, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.closeJavaDocs"); //$NON-NLS-1$		final Button button= addCheckBox(composite, label, CompilationUnitEditor.CLOSE_JAVADOCS, 1);		label= JavaUIMessages.getString("JavaEditorPreferencePage.addJavaDocTags"); //$NON-NLS-1$		fAddJavaDocTagsButton= addCheckBox(composite, label, CompilationUnitEditor.ADD_JAVADOC_TAGS, 1);		// indent this button		GridData gridData= new GridData();		gridData.horizontalIndent= 20;		fAddJavaDocTagsButton.setLayoutData(gridData);		final Button button2= fAddJavaDocTagsButton;		button.addSelectionListener(new SelectionListener() {			public void widgetSelected(SelectionEvent e) {				button2.setEnabled(button.getSelection());			}			public void widgetDefaultSelected(SelectionEvent e) {}		});				return composite;	}