Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
index 88e3dd79698..ffefe085601 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/newui/AbstractCPropertyTab.java
@@ -183,7 +183,8 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
buttons[i].setLayoutData(gdb);
buttons[i].addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent event) {
+ @Override
+ public void widgetSelected(SelectionEvent event) {
buttonPressed(event);
}});
}
@@ -336,7 +337,8 @@ public abstract class AbstractCPropertyTab implements ICPropertyTab {
b.setText(name);
setupControl(b, span, mode);
b.addSelectionListener(new SelectionAdapter() {
- public void widgetSelected(SelectionEvent event) {
+ @Override
+ public void widgetSelected(SelectionEvent event) {
setGrayed((Button)event.widget, false);
checkPressed(event);
}});

Back to the top