Jump to: navigation, search

Difference between revisions of "ListenTo"


(Created page with "==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 h...")
(No difference)

Revision as of 09:51, 11 March 2013

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 the its ListenTo-Source.

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.

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