Product-Line Selector
ArchStudio 4

The Selector Component

The selector provides a user interface which allows a simple means of graphically invoking the Selector, Pruner, and Version Pruner components. To begin using it, open a xADL document in the selector using the ArchStudio Launcher.

The selector has a simple user interface:

Selector Screenshot

To use it, follow the following sequence of steps.

First, select a starting point for selection or pruning. In a hierarchical architecture, this will generally be the outermost architectural structure or type (e.g., the one that is not contained in any other structure or type). This is done by clicking on one of these elements in the outline view.

Second, if you are performing selection, use the symbol table and the buttons below it to add, edit, and remove variable-value bindings. These will be used to evaluate the various boolean guards in a product-line architecture. If you are performing only pruning or version pruning, the symbol table has no effect. It is also possible to store and load symbol sets to and from files using the 'Import Symbols' and 'Export Symbols' buttons.

Third, check off the operations you want to perform (select, prune, or version prune).

Once you have completed these steps, click the "Run Selected Tasks" button. This will bring up a 'save resource' dialog in which you can choose where to save the selected/pruned architecture in a separate xADL file. Because these operations are generally destructive, it is not possible to apply them in-line to the open xADL file.

Additional questions about the Selector Driver should be sent to Matthew C. Critchlow.