Jump to: navigation, search

Difference between revisions of "ListenTo"


Line 1: Line 1:
 
==Purpose==
 
==Purpose==
ListenTo is a concept in {{UBIK}} Studio, that allows to connect and therefore cascade controls in an arbitrary mannner. The basic idea is, that each control can have a "Master" control, meaning another control to which selection changes it is constantly listening. This master is referred as its ListenTo-Source.
+
ListenTo is a concept in {{UBIK}} Studio, that allows to connect and therefore cascade controls in an arbitrary manner. The basic idea is, that each control can have a "Master" control, meaning another control to which selection changes it is constantly listening. Also Navigation operations will be performed in the master control. This master is also referred as the ListenTo source.
  
 
==Example==
 
==Example==
Let's assume a [[Class Browser]] shall be the master control and we want an [[Object Editor]] to always allow us to edit the currently selected object of this Class Browser.
+
Let's assume a [[Class Browser]] shall be the master control and we want a [[Bulk Editor]] to always allow us to edit the instances of a currently selected MetaClass of this Class Browser.
  
 
# Open a Class Browser in an area of {{UBIK}} Studio
 
# Open a Class Browser in an area of {{UBIK}} Studio
# Open an Object Editor in another area
+
# Open a Bulk Editor in another area
# Drag an object from the Class Browser with the left mouse button and drop it on the header of the tab where the Object Editor is in. The header text should now display a "+" sign and the text of the dropped object.
+
# Drag an object from the Class Browser with the left mouse button and drop it on the header of the tab where the Bulk Editor is in. The header text should now display a "+" sign and the text of the dropped object.

Revision as of 14:37, 11 March 2013

Purpose

ListenTo is a concept in UBIK® Studio, that allows to connect and therefore cascade controls in an arbitrary manner. The basic idea is, that each control can have a "Master" control, meaning another control to which selection changes it is constantly listening. Also Navigation operations will be performed in the master control. This master is also referred as the ListenTo source.

Example

Let's assume a Class Browser shall be the master control and we want a Bulk Editor to always allow us to edit the instances of a currently selected MetaClass of this Class Browser.

  1. Open a Class Browser in an area of UBIK® Studio
  2. Open a Bulk Editor in another area
  3. Drag an object from the Class Browser with the left mouse button and drop it on the header of the tab where the Bulk Editor is in. The header text should now display a "+" sign and the text of the dropped object.