JBoss.orgCommunity Documentation
In this chapter we provide a description of Seam actions that are available from
Menu bar
Toolbar
Context menus in views
The following actions are in the Seam Perspective by default:
→ submenuTable 5.1. Seam Actions in the New Submenu
Name |
Function |
---|---|
Seam Web Project |
Runs Section 2.1, “Create standalone Seam Web Project” wizard for creating a new Seam project |
Seam Action |
Runs Section 6.1, “New Seam Action” wizard for creating a new Seam action |
Seam Form |
Runs Section 6.2, “New Seam Form” wizard for creating a new Seam form |
Seam Entity |
Runs Section 6.4, “New Seam Entity” wizard for creating a new Seam entity |
Seam Conversation |
Runs Section 6.3, “New Seam Conversation” wizard for creating a new Seam conversation |
Seam Generate Entities |
Runs Chapter 7, Seam Generate Entities wizard |
In the next sections we are going to describe Seam actions which can help you to easily navigate through the source code.
To find EL expressions both in .java and .xhtml files use Find Seam References and Declarations actions. For that, in the main menu bar click on → or → .
Look at the description of the actions in the table below.
Table 5.2. Find Seam References/Declarations actions
Name |
Function |
Keyboard Shortcut |
---|---|---|
Find Seam References Find Seam Declarations |
Find all references and declarations to the selected element. It's available for EL expressions in both .java and .xhtml files. Differs from normal Eclipse Find References/Declarations by showing an EL or Seam references in the Search View. |
Ctrl+G Ctrl+Shift+G also Ctrl + 1 for .java files |
On the screenshot example below you could see that the search results are listed in the Search view.
You can also use Ctrl + 1 in .java files to activate the actions:
To open Seam Components click on
→ in the main menu bar. This dialog is also available from toolbar icon or with hot keys combination "Ctrl+Shift+Z ".In the table below read a description about the dialog.
Table 5.3. Open Seam Components Dialog
Name |
Function |
Keyboard Shortcut |
---|---|---|
Open Seam Components |
Brings up the Open Seam Component dialog to open a component in the editor. The Open Seam Component selection dialog shows all Seam components existing in the workspace. You can search the components via their short, imported or full name. |
Ctrl+Shift+Z |
Enter a name in the text field and see the results as it shown on screenshot:
You can also open Seam Component from the other component where the required one is declared in @In
by using Section 8.4.3, “OpenOn” (Ctrl + left click and select Open Declaration of Seam Component for seam_component in Seam_class.java ).