# Package org.eclipse.e4.ui.di

package org.eclipse.e4.ui.di
Application programming interfaces describing the Eclipse 4 dependency injection annotations.

## Package Specification

The package provides annotations for Eclipse 4 dependency injection.

Class
Description
AboutToHide
Use this annotation to act on to the list of dynamically shown entries within a DynamicMenuContributionItem.
AboutToShow
Use this annotation to provide MMenuElements to the list of dynamically shown entries within a DynamicMenuContributionItem.
Focus
Parts can specify this annotation on one of its methods to tag it as the method to be invoked when it has been granted focus.
Persist
Parts can specify this annotation on one of the methods to tag it as the method that performs "save" operation.
PersistState
Parts can specify this annotation on one of the methods to tag it as the method that performs the "visual state persit" operation
UIEventTopic
This annotation can be applied to arguments and fields that want to receive notifications on the specified event topic.
UISynchronize
Widget toolkit abstract to synchronize back into the UI-Thread from other threads