mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
47c5cf200e
commit
f7a9c21d2e
2 changed files with 3 additions and 8 deletions
|
@ -11,14 +11,11 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.core.parser.ast;
|
||||
|
||||
|
||||
/**
|
||||
* Use compareTo() to order access restriction.
|
||||
*/
|
||||
public enum ASTAccessVisibility {
|
||||
|
||||
PUBLIC,
|
||||
PROTECTED,
|
||||
PRIVATE,
|
||||
|
||||
}
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue