Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2012-01-07 20:43:42 -0500
committerSergey Prigogin2012-01-07 20:43:42 -0500
commitd8c53b250142c12a74bdb6dadfe16189e675f1bf (patch)
treeed4b94ddda1158861f1ba47e83a2613c22e2dfb6 /codan/org.eclipse.cdt.codan.ui
parent4071a34762f970dd6ffd0cc231c055940234bbe2 (diff)
downloadorg.eclipse.cdt-d8c53b250142c12a74bdb6dadfe16189e675f1bf.tar.gz
org.eclipse.cdt-d8c53b250142c12a74bdb6dadfe16189e675f1bf.tar.xz
org.eclipse.cdt-d8c53b250142c12a74bdb6dadfe16189e675f1bf.zip
@Override annotations.
Diffstat (limited to 'codan/org.eclipse.cdt.codan.ui')
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanProblemMarkerResolutionGenerator.java1
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/OpenProblemPreferences.java3
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/RunCodeAnalysis.java3
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/ToggleNatureAction.java3
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ExclusionInclusionEntryDialog.java2
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java2
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java12
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CodanPreferencePage.java3
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FieldEditorOverlayPage.java3
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FileScopePreferencePage.java4
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/ProblemsTreeEditor.java8
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/views/ProblemDetails.java1
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/handlers/RunCodanCommand.java1
13 files changed, 46 insertions, 0 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanProblemMarkerResolutionGenerator.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanProblemMarkerResolutionGenerator.java
index 9c9f68cc5f..ce6121332b 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanProblemMarkerResolutionGenerator.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/CodanProblemMarkerResolutionGenerator.java
@@ -45,6 +45,7 @@ public class CodanProblemMarkerResolutionGenerator implements IMarkerResolutionG
}
}
+ @Override
public IMarkerResolution[] getResolutions(IMarker marker) {
if (resolutionsLoaded == false) {
readExtensions();
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/OpenProblemPreferences.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/OpenProblemPreferences.java
index 6c10bb507f..dcd2043ea3 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/OpenProblemPreferences.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/OpenProblemPreferences.java
@@ -23,6 +23,7 @@ public class OpenProblemPreferences implements IObjectActionDelegate {
public OpenProblemPreferences() {
}
+ @Override
public void run(IAction action) {
if (selection instanceof IStructuredSelection) {
IStructuredSelection ss = (IStructuredSelection) selection;
@@ -45,10 +46,12 @@ public class OpenProblemPreferences implements IObjectActionDelegate {
}
}
+ @Override
public void selectionChanged(IAction action, ISelection selection) {
this.selection = selection;
}
+ @Override
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
this.targetPart = targetPart;
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/RunCodeAnalysis.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/RunCodeAnalysis.java
index 9ba23c0bf7..e3a124d400 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/RunCodeAnalysis.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/RunCodeAnalysis.java
@@ -31,10 +31,12 @@ import org.eclipse.ui.IWorkbenchPart;
public class RunCodeAnalysis implements IObjectActionDelegate {
private ISelection sel;
+ @Override
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
// nothing
}
+ @Override
public void run(IAction action) {
Job job = new Job(CodanUIMessages.Job_TitleRunningAnalysis) {
@SuppressWarnings("unchecked")
@@ -67,6 +69,7 @@ public class RunCodeAnalysis implements IObjectActionDelegate {
job.schedule();
}
+ @Override
public void selectionChanged(IAction action, ISelection selection) {
this.sel = selection;
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/ToggleNatureAction.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/ToggleNatureAction.java
index 352faec95d..fbe2f12b6b 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/ToggleNatureAction.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/actions/ToggleNatureAction.java
@@ -32,6 +32,7 @@ public class ToggleNatureAction implements IObjectActionDelegate {
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
*/
+ @Override
public void run(IAction action) {
if (selection instanceof IStructuredSelection) {
for (Iterator it = ((IStructuredSelection) selection).iterator(); it.hasNext();) {
@@ -56,6 +57,7 @@ public class ToggleNatureAction implements IObjectActionDelegate {
* org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action
* .IAction, org.eclipse.jface.viewers.ISelection)
*/
+ @Override
public void selectionChanged(IAction action, ISelection selection) {
this.selection = selection;
}
@@ -67,6 +69,7 @@ public class ToggleNatureAction implements IObjectActionDelegate {
* org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.
* action.IAction, org.eclipse.ui.IWorkbenchPart)
*/
+ @Override
public void setActivePart(IAction action, IWorkbenchPart targetPart) {
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ExclusionInclusionEntryDialog.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ExclusionInclusionEntryDialog.java
index 2b525f46af..5c585ecd2a 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ExclusionInclusionEntryDialog.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ExclusionInclusionEntryDialog.java
@@ -139,10 +139,12 @@ public class ExclusionInclusionEntryDialog extends StatusDialog {
// -------- ExclusionPatternAdapter --------
private class ExclusionPatternAdapter implements IDialogFieldListener, IStringButtonAdapter {
// -------- IDialogFieldListener
+ @Override
public void dialogFieldChanged(DialogField field) {
doStatusLineUpdate();
}
+ @Override
public void changeControlPressed(DialogField field) {
doChangeControlPressed();
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
index 7c11bd79cf..2f976f5f2f 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/BuildPropertyPage.java
@@ -69,6 +69,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
*
* @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
*/
+ @Override
public IAdaptable getElement() {
if (element.getAdapter(IProject.class) != null)
return (IProject) element.getAdapter(IProject.class);
@@ -80,6 +81,7 @@ public class BuildPropertyPage extends FieldEditorPreferencePage implements IWor
*
* @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
*/
+ @Override
public void setElement(IAdaptable element) {
this.element = element;
if (getElement() != null) {
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
index 629d394145..05a60f97a9 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CheckedTreeEditor.java
@@ -71,6 +71,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void adjustForNumColumns(int numColumns) {
Control control = getLabelControl();
if (control != null) {
@@ -84,6 +85,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void doFillIntoGrid(Composite parent, int numColumns) {
doFillLabelIntoGrid(parent, numColumns);
doFillBoxIntoGrid(parent, numColumns);
@@ -113,6 +115,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void doLoad() {
if (getTreeControl() != null) {
String s = getPreferenceStore().getString(getPreferenceName());
@@ -140,6 +143,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
* @Override
* @see org.eclipse.jface.viewers.ICheckStateListener#checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent)
*/
+ @Override
public void checkStateChanged(CheckStateChangedEvent event) {
Object element = event.getElement();
treeViewer.setGrayed(element, false);
@@ -185,6 +189,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void doLoadDefault() {
if (getTreeControl() != null) {
String s = getPreferenceStore().getDefaultString(getPreferenceName());
@@ -195,6 +200,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void doStore() {
String s = modelToString(getViewer().getInput());
if (s != null) {
@@ -230,6 +236,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
public int getNumberOfControls() {
return 2;
}
@@ -250,6 +257,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
public void setFocus() {
if (getTreeControl() != null) {
getTreeControl().setFocus();
@@ -259,6 +267,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* @see FieldEditor.setEnabled(boolean,Composite).
*/
+ @Override
public void setEnabled(boolean enabled, Composite parent) {
super.setEnabled(enabled, parent);
createListControl(parent).setEnabled(enabled);
@@ -276,6 +285,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
*/
protected abstract String modelToString(Object model);
+ @Override
protected void createControl(Composite parent) {
GridLayout ly = (GridLayout) parent.getLayout();
doFillIntoGrid(parent, ly.numColumns);
@@ -295,6 +305,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
public boolean isValid() {
return isValid;
}
@@ -302,6 +313,7 @@ public abstract class CheckedTreeEditor extends FieldEditor implements ICheckSta
/*
* (non-Javadoc) Method declared on FieldEditor.
*/
+ @Override
protected void refreshValidState() {
isValid = checkState();
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CodanPreferencePage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CodanPreferencePage.java
index 1517e86fe3..70aed99519 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CodanPreferencePage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/CodanPreferencePage.java
@@ -65,6 +65,7 @@ public class CodanPreferencePage extends FieldEditorOverlayPage implements IWork
setPreferenceStore(new ScopedPreferenceStore(new InstanceScope(), CodanCorePlugin.PLUGIN_ID));
// setDescription("Code Analysis Preference Page");
problemSelectionListener = new ISelectionChangedListener() {
+ @Override
public void selectionChanged(SelectionChangedEvent event) {
if (infoButton != null) {
if (event.getSelection() instanceof ITreeSelection) {
@@ -99,6 +100,7 @@ public class CodanPreferencePage extends FieldEditorOverlayPage implements IWork
addField(checkedTreeEditor);
checkedTreeEditor.getTreeViewer().addSelectionChangedListener(problemSelectionListener);
checkedTreeEditor.getTreeViewer().addDoubleClickListener(new IDoubleClickListener() {
+ @Override
public void doubleClick(DoubleClickEvent event) {
openCustomizeDialog();
}
@@ -213,6 +215,7 @@ public class CodanPreferencePage extends FieldEditorOverlayPage implements IWork
* @see
* org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
*/
+ @Override
public void init(IWorkbench workbench) {
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FieldEditorOverlayPage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FieldEditorOverlayPage.java
index fe7dcc7f3e..25c210df10 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FieldEditorOverlayPage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FieldEditorOverlayPage.java
@@ -111,6 +111,7 @@ public abstract class FieldEditorOverlayPage extends FieldEditorPreferencePage i
*
* @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
*/
+ @Override
public void setElement(IAdaptable element) {
this.element = element;
}
@@ -120,6 +121,7 @@ public abstract class FieldEditorOverlayPage extends FieldEditorPreferencePage i
*
* @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
*/
+ @Override
public IAdaptable getElement() {
if (element == null)
return element;
@@ -360,6 +362,7 @@ public abstract class FieldEditorOverlayPage extends FieldEditorPreferencePage i
manager.addToRoot(targetNode);
final PreferenceDialog dialog = new PreferenceDialog(getControl().getShell(), manager);
BusyIndicator.showWhile(getControl().getDisplay(), new Runnable() {
+ @Override
public void run() {
dialog.create();
dialog.setMessage(targetNode.getLabelText());
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FileScopePreferencePage.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FileScopePreferencePage.java
index b3165f126e..a1a9e9da58 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FileScopePreferencePage.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/FileScopePreferencePage.java
@@ -212,6 +212,7 @@ public class FileScopePreferencePage extends PreferencePage {
* @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#customButtonPressed(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField,
* int)
*/
+ @Override
public void customButtonPressed(ListDialogField field, int index) {
doCustomButtonPressed(field, index);
}
@@ -219,6 +220,7 @@ public class FileScopePreferencePage extends PreferencePage {
/**
* @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#selectionChanged(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField)
*/
+ @Override
public void selectionChanged(ListDialogField field) {
doSelectionChanged(field);
}
@@ -226,6 +228,7 @@ public class FileScopePreferencePage extends PreferencePage {
/**
* @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#doubleClicked(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField)
*/
+ @Override
public void doubleClicked(ListDialogField field) {
doDoubleClicked(field);
}
@@ -233,6 +236,7 @@ public class FileScopePreferencePage extends PreferencePage {
/**
* @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IDialogFieldListener#dialogFieldChanged(org.eclipse.jdt.internal.ui.wizards.dialogfields.DialogField)
*/
+ @Override
public void dialogFieldChanged(DialogField field) {
}
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/ProblemsTreeEditor.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/ProblemsTreeEditor.java
index fb2396a13d..9f28f8b7be 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/ProblemsTreeEditor.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/preferences/ProblemsTreeEditor.java
@@ -62,6 +62,7 @@ public class ProblemsTreeEditor extends CheckedTreeEditor {
* org.eclipse.jface.viewers.ICheckStateProvider#isChecked(java.lang
* .Object)
*/
+ @Override
public boolean isChecked(Object element) {
if (element instanceof IProblem) {
IProblem p = (IProblem) element;
@@ -88,6 +89,7 @@ public class ProblemsTreeEditor extends CheckedTreeEditor {
* org.eclipse.jface.viewers.ICheckStateProvider#isGrayed(java.lang.
* Object)
*/
+ @Override
public boolean isGrayed(Object element) {
if (element instanceof IProblem) {
IProblem p = (IProblem) element;
@@ -130,14 +132,17 @@ public class ProblemsTreeEditor extends CheckedTreeEditor {
}
class ProblemsContentProvider implements IContentProvider, ITreeContentProvider {
+ @Override
public void dispose() {
// TODO Auto-generated method stub
}
+ @Override
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
// TODO Auto-generated method stub
}
+ @Override
public Object[] getChildren(Object parentElement) {
if (parentElement instanceof Object[])
return (Object[]) parentElement;
@@ -150,14 +155,17 @@ public class ProblemsTreeEditor extends CheckedTreeEditor {
return new Object[0];
}
+ @Override
public Object getParent(Object element) {
return null;
}
+ @Override
public boolean hasChildren(Object element) {
return getChildren(element).length > 0;
}
+ @Override
public Object[] getElements(Object inputElement) {
return getChildren(inputElement);
}
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/views/ProblemDetails.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/views/ProblemDetails.java
index 15cfc9f35f..02bbfb8f4a 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/views/ProblemDetails.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/views/ProblemDetails.java
@@ -107,6 +107,7 @@ public class ProblemDetails extends ViewPart {
description.addSelectionListener(linkSelAdapter);
ISelectionService ser = (ISelectionService) getSite().getService(ISelectionService.class);
ser.addSelectionListener(new ISelectionListener() {
+ @Override
public void selectionChanged(IWorkbenchPart part, ISelection selection) {
if (part.getSite().getId().equals(problemsViewId)) {
processSelection(selection);
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/handlers/RunCodanCommand.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/handlers/RunCodanCommand.java
index 4d4d72855d..096203a0e7 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/handlers/RunCodanCommand.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/ui/handlers/RunCodanCommand.java
@@ -27,6 +27,7 @@ public class RunCodanCommand extends AbstractHandler {
public RunCodanCommand() {
}
+ @Override
public Object execute(ExecutionEvent event) throws ExecutionException {
ISelection currentSelection = HandlerUtil.getCurrentSelection(event);
RunCodeAnalysis action = new RunCodeAnalysis();

Back to the top