Project

General

Profile

« Previous | Next » 

Revision 4bb0a32b

Added by Patrick Plitzner over 8 years ago

  • fixed org.hamcrest dependency error which occurs when doing a fresh set up of the editor workspace

View differences:

eu.etaxonomy.taxeditor.cdmlib/META-INF/MANIFEST.MF
245 245
 org.apache.sanselan;uses:="org.apache.sanselan.common,org.apache.sanselan.common.byteSources",
246 246
 org.apache.xerces.dom,
247 247
 org.h2.jdbc,
248
 org.hamcrest,
248 249
 org.hibernate,
249 250
 org.hibernate.annotations.common.reflection,
250 251
 org.hibernate.cache.internal,
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/test/ContextMenuHelper.java
1 1
package eu.etaxonomy.taxeditor.test;
2 2

  
3 3
import static org.eclipse.swtbot.swt.finder.matchers.WidgetMatcherFactory.withMnemonic;
4
import static org.hamcrest.Matchers.allOf;
5
import static org.hamcrest.Matchers.instanceOf;
4
import static org.hamcrest.CoreMatchers.allOf;
5
import static org.hamcrest.CoreMatchers.instanceOf;
6 6

  
7 7
import java.util.Arrays;
8 8

  
......
34 34
		// show
35 35
		final MenuItem menuItem = UIThreadRunnable
36 36
		.syncExec(new WidgetResult<MenuItem>() {
37
			public MenuItem run() {
37
			@Override
38
            public MenuItem run() {
38 39
				MenuItem menuItem = null;
39 40
				Control control = (Control) bot.widget;
40 41
				Menu menu = control.getMenu();
......
63 64

  
64 65
		// hide
65 66
		UIThreadRunnable.syncExec(new VoidResult() {
66
			public void run() {
67
			@Override
68
            public void run() {
67 69
				hide(menuItem.getParent());
68 70
			}
69 71
		});
......
91 93
		event.type = SWT.Selection;
92 94

  
93 95
		UIThreadRunnable.asyncExec(menuItem.getDisplay(), new VoidResult() {
94
			public void run() {
96
			@Override
97
            public void run() {
95 98
				menuItem.notifyListeners(SWT.Selection, event);
96 99
			}
97 100
		});

Also available in: Unified diff