Project: Eclipse_Platform_UI
Bug 271823 Define common injection annotations
Reported: 2009-04-09 13:56:53 | Status: resolved fixed

We currently have three copies of the various annotations for injection (@Inject, @In, @Out, etc). We should have a single set of annotations in a common place rather than copying them everywhere. This is inhibiting wider use of annotations within the e4 workbench because currently each bundle needs to redefine them. I propose creating a new bundle org.eclipse.e4.core.services.annotations that contains these common annotations (and possibly others in the future).

Files changed in fix:
examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/ExifTable.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Location.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Preview.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/Thumbnails.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/annotations/In.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/annotations/Inject.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/annotations/Out.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/annotations/PostConstruct.java examples/org.eclipse.e4.demo.e4photo/src/org/eclipse/e4/demo/e4photo/annotations/PreDestroy.java