Uploaded by Игнат Сажаев

Dependencies to use for Eclipse 4

advertisement
Dependencies to use for Eclipse 4
When you develop with Eclipse 4, you need to use a lot of new classes and annotations
that are defined in several plugins. It is a little tricky to know these dependencies without
any documentation.
Here is a table to summarize the dependency that must be used for each class or
annotation.
Annotation ou Classe
DIViewPart
IEclipseContext
ContextInjectionFactory
InjectionException
@Focus
@UIEventTopic
@Inject
@PostConstruct
@Preference
@EventTopic
ESelectionService
EMenuService
@Optional
@Execute
@CanExecute
Adapter
IServiceConstants
MApplication, MPart,…
Dépendance à ajouter
org.eclipse.e4.tools.compat
org.eclipse.e4.core.contexts
org.eclipse.e4.core.contexts
org.eclipse.e4.core.di
org.eclipse.e4.ui.di
org.eclipse.e4.ui.di
javax.inject with import-package (Cf #348123) !!
javax.annotations with import-package (Cf
#348123) !!
org.eclipse.e4.core.di.extensions
org.eclipse.e4.core.di.extensions
org.eclipse.e4.ui.workbench
org.eclipse.e4.ui.workbench.swt
org.eclipse.e4.core.di
org.eclipse.e4.core.di
org.eclipse.e4.core.di
org.eclipse.e4.core.services
org.eclipse.e4.ui.services
org.eclipse.e4.ui.model.workbench
You can also find more information in the Eclipse wiki
Download