Bug 322226 Make org.eclipse.e4.ui.di free from SWT
The bundle should not depend on SWT because this leads to a dependency on SWT for org.eclipse.e4.ui.workbench which is violating the core design of e4.
tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/InjectionEventTest.java
public int counter1 = 0;
		public int counter2 = 0;
		public int counter3 = 0;
		public String string1;
		public String string2;
		public String string3;
		public boolean valid = true;
		public MyBinding myBinding;
		public void resetCounters() {
			counter1 = counter2 = counter3 = 0;
		}
		@Inject
		@Optional
		public void receivedEvent1(@EventTopic("e4/test/event1") String string1) {
			if (!valid)
				testFailed = true;
			counter1++;
			this.string1 = string1;
		}
		@Inject
		@Optional
		public void receivedEvent2(
				@UIEventTopic("e4/test/event2") String string2) {
			if (!valid)
				testFailed = true;
			counter2++;
			this.string2 = string2;
		}
		@Inject
		public void receivedOptionalEvent(MyBinding myBinding,