JBoss.orgCommunity Documentation

Chapter 6. Hyperlink navigation

Hyperlinks (OpenOn integration) allows you to quickly navigate between source files. Pressing Ctrl+Left-Click or F3 on any expression language (EL) declaration will navigate you to the corresponding java source.

CDI Tools offers you a list of navigation alternatives for the bean that will be injected.

Example of navigation alternatives.

Figure 6.1. Example of navigation alternatives


If multiple eligible beans are detected for the injection, you will see an option to Show All Assignable Beans.

Show All Assignable Beans.

Figure 6.2. Show All Assignable Beans


Selecting this option will display a dialog containing all eligible beans.

Multiple eligible beans.

Figure 6.3. Multiple eligible beans


Corresponding classes and interfaces that are mentioned in beans.xml can be opened through pressing Ctrl+Left-Click on the type name.

Observers and Events can be navigated to through the same method as well; Show CDI Observer Methods and Show CDI Events.

Observers example.

Figure 6.4. Observers example


Events example.

Figure 6.5. Events example


Producer and Disposer methods, if available, will appear in the context menu for an injection.

Producer example.

Figure 6.6. Producer example


Disposer example.

Figure 6.7. Disposer example