added missing @Override in swtbot project

Change-Id: I874f2c35c2bf3ce236c47ff596fdb952676af8b6
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/.settings/org.eclipse.jdt.core.prefs b/tests/org.eclipse.emf.parsley.tests.swtbot/.settings/org.eclipse.jdt.core.prefs
index cfee511..cec1ecd 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/.settings/org.eclipse.jdt.core.prefs
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/.settings/org.eclipse.jdt.core.prefs
@@ -32,7 +32,7 @@
 org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
 org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled
 org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
-org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=warning
 org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
 org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
 org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
@@ -75,6 +75,7 @@
 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
 org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore
 org.eclipse.jdt.core.compiler.problem.unusedImport=warning
 org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
 org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyFormTests.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyFormTests.java
index a6ddd88..c4d9403 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyFormTests.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleyFormTests.java
@@ -254,6 +254,7 @@
 
 	private WaitForObjectCondition<SWTBotTable> autoCompleteAppears(final SWTBotText text, Matcher<SWTBotTable> tableMatcher) {
 		return new WaitForObjectCondition<SWTBotTable>(tableMatcher) {
+			@Override
 			protected List<SWTBotTable> findMatches() {
 				try {
 					text.pressShortcut(SWT.CTRL, 0, ' ');
@@ -268,6 +269,7 @@
 				return null;
 			}
 			
+			@Override
 			public String getFailureMessage() {
 				return "Could not find auto complete proposal using matcher " + matcher;
 			}
@@ -290,11 +292,13 @@
 	private Matcher<SWTBotTable> tableWithRows() {
 		return new AbstractMatcher<SWTBotTable>() {
 
+			@Override
 			protected boolean doMatch(Object item) {
 				List<String> rows = getRows((SWTBotTable) item);
 				return !rows.isEmpty();
 			}
 
+			@Override
 			public void describeTo(Description description) {
 				description.appendText("table with rows");
 			}
@@ -305,6 +309,7 @@
 		log.debug("Activating quickfix shell."); //$NON-NLS-1$
 		try {
 			Shell mainWindow = syncExec(new WidgetResult<Shell>() {
+				@Override
 				public Shell run() {
 					return text.widget.getShell();
 				}
@@ -313,11 +318,13 @@
 			final List<Shell> shells = bot.shells("", mainWindow);
 			log.debug(MessageFormat.format("Obtained shells: {0}", 
 					syncExec(new Result<String>() {
+						@Override
 						public String run() {
 							return shells.toString();
 						}
 					}))); //$NON-NLS-1$
 			Shell widgetShell = syncExec(new WidgetResult<Shell>() {
+				@Override
 				public Shell run() {
 					for(int j=0; j<shells.size(); j++) {
 						Shell s = shells.get(j);
@@ -364,6 +371,7 @@
 	private void selectProposal(final SWTBotTable proposalTable, final int proposalIndex) {
 		log.debug(MessageFormat.format("Trying to select proposal with index {0}", proposalIndex)); //$NON-NLS-1$
 		UIThreadRunnable.syncExec(new VoidResult() {
+			@Override
 			public void run() {
 				Table table = proposalTable.widget;
 				log.debug(MessageFormat.format("Selecting row [{0}] {1} in {2}", proposalIndex, table.getItem(proposalIndex).getText(), //$NON-NLS-1$
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySWTBotAbstractTests.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySWTBotAbstractTests.java
index bacac90..3c68c32 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySWTBotAbstractTests.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySWTBotAbstractTests.java
@@ -393,6 +393,7 @@
 
 	protected static void closeWelcomePage() throws InterruptedException {
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				if (PlatformUI.getWorkbench().getIntroManager().getIntro() != null) {
 					PlatformUI
@@ -606,6 +607,7 @@
 	protected SWTBotTree getSWTBotTree(final SWTBotTreeItem treeItem) {
 		return new SWTBotTree(
 				UIThreadRunnable.syncExec(new WidgetResult<Tree>() {
+					@Override
 					public Tree run() {
 						return treeItem.widget.getParent();
 					}
@@ -777,6 +779,7 @@
 		// ensure that all queued workspace operations and locks are released
 		try {
 			ResourcesPlugin.getWorkspace().run(new IWorkspaceRunnable() {
+				@Override
 				public void run(IProgressMonitor monitor) throws CoreException {
 					// nothing to do!
 				}
@@ -786,6 +789,7 @@
 		}
 
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				try {
 					IResourcesSetupUtil.cleanBuild();
@@ -830,6 +834,7 @@
 		final TreeItem widget = item.widget;
 		// part of test that requires UI-thread
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				try {
 					Image image = widget.getImage();
@@ -846,6 +851,7 @@
 
 	protected void assertStatusLine(final String expectedStatusLineText) {
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				IWorkbenchPart activePart = PlatformUI.getWorkbench()
 						.getActiveWorkbenchWindow().getActivePage()
@@ -1004,6 +1010,7 @@
 	protected void assertTextComponent(SWTFormsBot formbot, String text, final boolean editable) {
 		final SWTBotText t = formbot.text(text);
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				Assert.assertEquals(editable, t.widget.getEditable());
 			}
@@ -1013,6 +1020,7 @@
 	protected void assertTextComponent(String text, final boolean editable) {
 		final SWTBotText t = bot.text(text);
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				Assert.assertEquals(editable, t.widget.getEditable());
 			}
@@ -1023,6 +1031,7 @@
 			final boolean isChecked, final boolean isEnabled) {
 		final SWTBotCheckBox b = formbot.checkBox(index);
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				Assert.assertEquals(isEnabled, b.isEnabled());
 				Assert.assertEquals(isChecked, b.isChecked());
@@ -1140,6 +1149,7 @@
 
 	protected void saveView(final String viewName) {
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				getViewAsSaveablePart(viewName).doSave(
 						new NullProgressMonitor());
@@ -1153,6 +1163,7 @@
 	 */
 	protected void saveViewAsync(final String viewName) {
 		Display.getDefault().asyncExec(new Runnable() {
+			@Override
 			public void run() {
 				getViewAsSaveablePart(viewName).doSave(
 						new NullProgressMonitor());
@@ -1194,6 +1205,7 @@
 		while (count < retries) {
 			System.out.println("Checking that tree item " + treeItem.getText() + " has children...");
 			List<SWTBotTreeItem> foundItems = UIThreadRunnable.syncExec(new ListResult<SWTBotTreeItem>() {
+				@Override
 				public List<SWTBotTreeItem> run() {
 					TreeItem[] items = treeItem.widget.getItems();
 					List<SWTBotTreeItem> results = new ArrayList<SWTBotTreeItem>();
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySaveableViewTests.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySaveableViewTests.java
index cbe3778..3ab0f60 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySaveableViewTests.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/EmfParsleySaveableViewTests.java
@@ -52,6 +52,7 @@
 		tableFormViewOpened = false;
 	}
 
+	@Override
 	@After
 	public void runAfterEveryTest() throws CoreException {
 		if (treeFormViewOpened)
@@ -224,6 +225,7 @@
 	protected void assertTableItemsSize(final SWTBotTable table,
 			final int expectedSize) {
 		Display.getDefault().syncExec(new Runnable() {
+			@Override
 			public void run() {
 				assertEquals(expectedSize, table.widget.getItems().length);
 			}
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/binding/CustomLibraryFormControlFactory.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/binding/CustomLibraryFormControlFactory.java
index 6461d5d..d274d44 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/binding/CustomLibraryFormControlFactory.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/binding/CustomLibraryFormControlFactory.java
@@ -55,6 +55,7 @@
 	public Control control_Writer_books(Writer writer) {
 		return createLabel(
 				join(map(writer.getBooks(), new Function1<Book, String>() {
+					@Override
 					public String apply(Book book) {
 						return book.getTitle();
 					}
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/SWTBotEclipseEditorCustom.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/SWTBotEclipseEditorCustom.java
index c1b91b4..dafe1a1 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/SWTBotEclipseEditorCustom.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/SWTBotEclipseEditorCustom.java
@@ -201,6 +201,7 @@
 	private void selectProposal(final SWTBotTable proposalTable, final int proposalIndex) {
 		log.debug(MessageFormat.format("Trying to select proposal with index {0}", proposalIndex)); //$NON-NLS-1$
 		UIThreadRunnable.asyncExec(new VoidResult() {
+			@Override
 			public void run() {
 				Table table = proposalTable.widget;
 				log.debug(MessageFormat.format("Selecting row [{0}] {1} in {2}", proposalIndex, table.getItem(proposalIndex).getText(), //$NON-NLS-1$
@@ -495,6 +496,7 @@
 	/**
 	 * @see SWTBotStyledText#setFocus()
 	 */
+	@Override
 	public void setFocus() {
 		styledText.setFocus();
 	}
@@ -645,10 +647,12 @@
 	private Matcher<SWTBotTable> tableWithRow(final String itemText) {
 		return new AbstractMatcher<SWTBotTable>() {
 
+			@Override
 			protected boolean doMatch(Object item) {
 				return ((SWTBotTable) item).containsItem(itemText);
 			}
 
+			@Override
 			public void describeTo(Description description) {
 				description.appendText("table with item (").appendText(itemText).appendText(")");
 			}
@@ -659,6 +663,7 @@
 		final String lowerCaseText = itemText.toLowerCase();
 		return new AbstractMatcher<SWTBotTable>() {
 
+			@Override
 			protected boolean doMatch(Object item) {
 				List<String> rows = getRows((SWTBotTable) item);
 				for (String row : rows) {
@@ -669,6 +674,7 @@
 				return false;
 			}
 
+			@Override
 			public void describeTo(Description description) {
 				description.appendText("table with item (").appendText(itemText).appendText(")");
 			}
@@ -677,6 +683,7 @@
 
 	private WaitForObjectCondition<SWTBotTable> quickFixAppears(Matcher<SWTBotTable> tableMatcher) {
 		return new WaitForObjectCondition<SWTBotTable>(tableMatcher) {
+			@Override
 			protected List<SWTBotTable> findMatches() {
 				try {
 					activateQuickFixShell();
@@ -689,6 +696,7 @@
 				return null;
 			}
 
+			@Override
 			public String getFailureMessage() {
 				return "Could not find auto complete proposal using matcher " + matcher;
 			}
@@ -705,6 +713,7 @@
 		log.debug("Activating quickfix shell."); //$NON-NLS-1$
 		try {
 			Shell mainWindow = syncExec(new WidgetResult<Shell>() {
+				@Override
 				public Shell run() {
 					return styledText.widget.getShell();
 				}
@@ -712,6 +721,7 @@
 
 			final List<Shell> shells = bot.shells("", mainWindow);
 			Shell widgetShell = syncExec(new WidgetResult<Shell>() {
+				@Override
 				public Shell run() {
 					for(int j=0; j<shells.size(); j++) {
 						Shell s = shells.get(j);
@@ -737,6 +747,7 @@
 
 	private WaitForObjectCondition<SWTBotTable> autoCompleteAppears(Matcher<SWTBotTable> tableMatcher) {
 		return new WaitForObjectCondition<SWTBotTable>(tableMatcher) {
+			@Override
 			protected List<SWTBotTable> findMatches() {
 				try {
 					activateAutoCompleteShell();
@@ -751,6 +762,7 @@
 				return null;
 			}
 
+			@Override
 			public String getFailureMessage() {
 				return "Could not find auto complete proposal using matcher " + matcher;
 			}
@@ -765,6 +777,7 @@
 	private void invokeAction(final String actionId) {
 		final IAction action = ((ITextEditor) partReference.getEditor(false)).getAction(actionId);
 		syncExec(new VoidResult() {
+			@Override
 			public void run() {
 				log.debug(MessageFormat.format("Activating action with id {0}", actionId));
 				action.run();
diff --git a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/WaitForBuildCondition.java b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/WaitForBuildCondition.java
index 0a72313..552319f 100644
--- a/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/WaitForBuildCondition.java
+++ b/tests/org.eclipse.emf.parsley.tests.swtbot/src/org/eclipse/emf/parsley/tests/utils/WaitForBuildCondition.java
@@ -26,6 +26,7 @@
 		this.workspace = ResourcesPlugin.getWorkspace();
 	}
 
+	@Override
 	public boolean test() {
 		return done;
 	}
@@ -42,6 +43,7 @@
 		workspace.addResourceChangeListener(myResourceChangeListener);
 	}
 
+	@Override
 	public String getFailureMessage() {
 		return "failed waiting for building";
 	}
@@ -54,6 +56,7 @@
 		this.condition = condition;
 	}
 
+	@Override
 	public void resourceChanged(IResourceChangeEvent event) {
 		if (event.getBuildKind() == IResourceChangeEvent.POST_BUILD)
 			condition.done();