Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-05-06 03:50:55 +0000
committerSergey Prigogin2011-05-06 03:50:55 +0000
commitf7a9c21d2e59e0d3c24888780ed0091096e881b1 (patch)
tree47b2e7afd6f73d4c57f8d26dea193f779c17cc4e
parent47c5cf200ef03d2af1d8f61da900ad3131463454 (diff)
downloadorg.eclipse.cdt-f7a9c21d2e59e0d3c24888780ed0091096e881b1.tar.gz
org.eclipse.cdt-f7a9c21d2e59e0d3c24888780ed0091096e881b1.tar.xz
org.eclipse.cdt-f7a9c21d2e59e0d3c24888780ed0091096e881b1.zip
Cosmetics.v201105060807
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/ASTAccessVisibility.java3
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java8
2 files changed, 3 insertions, 8 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/ASTAccessVisibility.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/ASTAccessVisibility.java
index 8e2770083d9..abeb44868e4 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/ASTAccessVisibility.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/parser/ast/ASTAccessVisibility.java
@@ -11,14 +11,11 @@
*******************************************************************************/
package org.eclipse.cdt.core.parser.ast;
-
/**
* Use compareTo() to order access restriction.
*/
public enum ASTAccessVisibility {
-
PUBLIC,
PROTECTED,
PRIVATE,
-
}
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
index 79ec078f88d..bd3ccf00a15 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/wizards/dialogfields/CheckedListDialogField.java
@@ -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()) {

Back to the top