Java Enterprise tool window
To open this tool window:
The Java Enterprise tool window lets you look at your project from the Java EE perspective.
The tool window includes a set of panes where the "Java EE contents" of a selected item are shown in a pane to the right. If appropriate, the Javadoc HTML documentation (or, sometimes, a diagram) is shown for an item in the rightmost pane.
The toolbar buttons are used to show or hide categories of items (e.g. the modules or CDI beans), or to change the way the items are shown.
The context menus include commands for switching between the panes (Previous or Next) and opening items in the editor (Edit ).
You can filter the information in most of the panes by specifying the corresponding search string.
Toolbar icons
With very few exceptions, the toolbar icons are toggles that can be on or off.
The first two icons ( and ) are available always. The rest of the icons appear only for certain Java EE technologies and frameworks (e.g. CDI, WebSocket).
Icon | Description |
---|---|
The state of the icon defines the level on which the Java EE technologies and frameworks are shown. When on, the technologies are shown on the first level (i.e. in the leftmost pane). In this case, if is on, and the modules are shown in the pane to the right, you can select a technology and see, for example, in which modules the selected technology is used. When off, the technologies are shown on the second level. That is, your modules appear in the leftmost pane, and the technologies in the pane to the right. In this case, you can select a module and see which of the technologies are used in the selected module. | |
If is on, this icon is used to show or hide the modules. In this case, the modules, if shown, appear in the second pane from the left. | |
For CDI: Use this icon to show or hide CDI beans. | |
For CDI: Use this icon to show or hide producer methods and fields. | |
Depending on the technology:
| |
For CDI: Use this icon to show or hide the InjectionPoint types. Note that if is on, the injection points are shown on the diagrams in the rightmost pane, and this icon becomes inactive. | |
For WebSocket: Use this icon to show or hide the classes annotated with @ServerEndpoint . | |
For WebSocket: Use this icon to show or hide the classes annotated with @ClientEndpoint . | |
For RESTful Web Services: Use this icon to show or hide the resource classes. If off, there is a pane showing the classes. When you select a class, its methods are shown in the pane to the right. So, in this case, the methods are grouped by the classes in which they are defined. If on, the classes are not shown. The methods belonging to different classes are all shown in the same pane and at the same time. | |
For RESTful Web Services: Click this icon and then the necessary option to show or hide the methods annotated with @GET , @POST , @PUT , or @DELETE . |
Context menu commands
Command | Shortcut | Description |
---|---|---|
Previous | Left | Use this command or shortcut to switch to the pane to the left. |
Next | Right | Use this command or shortcut to switch to the pane to the right. |
Edit | Enter | Use this command or shortcut to switch to the editor to view or edit the source code for the selected item. For a module, this command results in showing the module settings in the Project Structure dialog. |
Filtering information
When in the pane of interest, just start typing. As a result, only the items whose names contain the specified string will be shown.