1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2011-05-06 03:50:55 +00:00
parent 47c5cf200e
commit f7a9c21d2e
2 changed files with 3 additions and 8 deletions

View file

@ -11,14 +11,11 @@
*******************************************************************************/
package org.eclipse.cdt.core.parser.ast;
/**
* Use compareTo() to order access restriction.
*/
public enum ASTAccessVisibility {
PUBLIC,
PROTECTED,
PRIVATE,
}

View file

@ -27,12 +27,11 @@ import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Table;
/**
* A list with checkboxes and a button bar. Typical buttons are 'Check All' and 'Uncheck All'.
* List model is independend of widget creation.
* A list with check boxes and a button bar. Typical buttons are 'Check All' and 'Uncheck All'.
* List model is independent of widget creation.
* DialogFields controls are: Label, List and Composite containing buttons.
*/
public class CheckedListDialogField<T> extends ListDialogField<T> {
private int fCheckAllButtonIndex;
private int fUncheckAllButtonIndex;
@ -180,11 +179,10 @@ public class CheckedListDialogField<T> extends ListDialogField<T> {
fCheckElements.clear();
}
if (fTable != null) {
((CheckboxTableViewer)fTable).setAllChecked(state);
((CheckboxTableViewer) fTable).setAllChecked(state);
}
checkStateChanged();
}
void doCheckStateChanged(CheckStateChangedEvent e) {
if (e.getChecked()) {