To provide values for the OpenView and NextView events, complete
the following steps:
- In the Navigation Controller, click NavigationParameters to open
the Navigation Parameters Editor, as shown in the following image:
- Set the view parameters for the event, as described in the following
table:
Table 1. View parameters for an EventParameter |
Description |
View Name |
The identifier for the view. When the Navigation Controller
receives an OpenView event, it attempts to instantiate the view using readObject(viewName).
If this method fails, the Navigation Controller instantiates the view using
the View Source. |
View Source |
The fully qualified class name of the view |
View Position |
The Navigation Controller opens the view at the position
specified by the values in the X and Y fields otherwise the Navigation Controller
uses the default position of 0,0. |
View Size |
The Navigation Controller opens the view with the width
and height specified by the values in the W and H fields. |
- In the Navigation radio button group, select the relationship between
the new view and the current view: chain it to the current view as a child,
chain it as a peer (it has a common parent with the current view), or do not
chain it at all. The following rules apply to the view relationships:
- A parent view can have more than one child view
- A child view may have only one parent view
- Two peer views have the same parent view
Note: - If the Navigation Controller receives an openView event and the navigation
parameter is peer, the Navigation Controller sets the new view as the "next"
view of the current view, and sets the current view as the previous view of
the new view.
- If the new view is modal (in the Navigation Parameters Editor, the View
Position and Size have been enabled and the X, Y, W, and H fields have values),
the relationship between the new view and the current view must be Child.
- In the Link Context To radio button group, select whether you want
to chain the context of the view to the context of a process, to the context
of the active view, or to the parent context of the active view. The Navigation
Controller chains the view context to a hierarchy to enable sharing of data
between views of the same chain.
- In the Open Map Format field, type the name of the format used
to map between contexts when the Navigation Controller opens the view. This
field enables the mapping of the view context to the context specified by
the linkContextTo parameter during context chaining.
- In the Operation Name field, unless the view already has an assigned
operation, type the name of the operation to execute.
- Click OK.