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

Added missing @Override annotations.

This commit is contained in:
Sergey Prigogin 2011-11-07 13:09:59 -08:00
parent 8dffbb2ec9
commit 45b6405be3

View file

@ -35,13 +35,13 @@ import org.eclipse.cdt.internal.ui.util.StatusLineHandler;
* Could be extended to work on resource selections. * Could be extended to work on resource selections.
*/ */
public class FindUnresolvedIncludesProjectAction implements IObjectActionDelegate { public class FindUnresolvedIncludesProjectAction implements IObjectActionDelegate {
private ISelection fSelection; private ISelection fSelection;
private IWorkbenchSite fSite; private IWorkbenchSite fSite;
public FindUnresolvedIncludesProjectAction() { public FindUnresolvedIncludesProjectAction() {
} }
@Override
public void run(IAction action) { public void run(IAction action) {
List<ICProject> projects= new ArrayList<ICProject>(); List<ICProject> projects= new ArrayList<ICProject>();
IStructuredSelection cElements= SelectionConverter.convertSelectionToCElements(fSelection); IStructuredSelection cElements= SelectionConverter.convertSelectionToCElements(fSelection);
@ -64,10 +64,12 @@ public class FindUnresolvedIncludesProjectAction implements IObjectActionDelegat
NewSearchUI.runQueryInBackground(searchJob); NewSearchUI.runQueryInBackground(searchJob);
} }
@Override
public void setActivePart(IAction action, IWorkbenchPart targetPart) { public void setActivePart(IAction action, IWorkbenchPart targetPart) {
fSite= targetPart.getSite(); fSite= targetPart.getSite();
} }
@Override
public void selectionChanged(IAction action, ISelection selection) { public void selectionChanged(IAction action, ISelection selection) {
fSelection= selection; fSelection= selection;
} }