ibm Rational Rhapsody 7.5 — More about binding a control element

Bind a control element to a model element Binding a control element To bind a control element to a model element in a panel diagram: 1. Right-click the control and select Features to open the Control Properties window. 2. On the Element Binding tab, depending on your situation: Љ If the control has no binding, the Control Binding Browser opens with the project container as the selected item. Use the browser to navigate to and select the elements for which you want to bind to the control element, or you can enter the element path in the Instance Path box. Note that the browser root is the project and the end nodes are the meta classes that can be bound for the particular control element.

If no relevant end node is found, the system notifies you that no relevant item was found and the Control Properties window does not open. Љ If the control has a bound element, the browser opens with the bound model element selected. Љ If no relevant element for binding is found in the model, the Element Binding tab displays blank with a note to that effect. 3. Click OK . For more information about binding, see More about binding a control element . More about binding a control element Note the following about binding a control element:

Љ Binding an item of a modeled root Instance In the case where the element for binding is owned by a modeled root Instance, the object is displayed by the browser on the Element Binding tab on the Control Properties window containing all relevant items for binding. You can select the element from the browser or alternatively type in the element path (stating at modeled root object) in the Instance Path box.

Љ Binding an item of a dynamic root Instance In the case where the element for binding is owned by a dynamic root Instance (modeled class that will be instantiated at run time), the element root class is displayed by the browser on the Element Binding tab containing all relevant items for binding. You can select the element from the browser or alternatively type in the element path (stating at modeled root class) in the Instance Path box. Rational Rhapsody 809