User Tools

Site Tools


SELECTOR

Guide Section: An EASAP GUI
EASAP Tree: USER INTERFACEFORM LIST or TABBED PANE LISTFORM or TABBED PANE


SELECTOR is a GUI object that allows a User to create and customize a list of items in a table. Below the table are the input objects and modifying buttons: 'Add', 'Update' and 'Delete'. The choices in the list are called USER ITEM's, their types are derived from Child objects to DEFAULT ITEM itself a Child of SELECTOR. The items in the list may be object references and can be referenced by other objects in the EASAP.

SELECTOR
Optional Parameters:
Title:Text displayed above the list.
Show if:Logical expression, if TRUE then object shown, if FALSE then object NOT shown.
Enable if:Logical expression, if TRUE then object enabled, if FALSE then object NOT enabled.
Template Name:The text prefix of the label of each USER ITEM automatically appended with a digit to form a unique object reference (ie. 'record'→record1, record2,…).
Maximum Number of Items:Upper bound for items in the list.
Select Mode:Type of SELECTOR (LIST ONLY, TABLE ONLY, USER CHOICE).
Number of Lines:The number of lines the table should show.
Tool Tip:Text to be displayed as a tool tip.

A SELECTOR may have the following Child objects:

Object Name Description
DEFAULT ITEM Parent for one or more LIST's of choices for a SELECTOR.
USER ITEM LISTA placeholder for USER ITEM's generated when the EASAP is run. This object cannot be removed.
ERROR LISTParent for RELATIONSHIP objects which specify valid USER ITEM entries.

An Example

  • Create an EASAP with the Tree below
  • Select selector1
    • Set Template Name:'record'
  • Set choice_list1 parameters as below
  • Select Logicbox1
    • Set Default:'FALSE' and set a Label:
  • Select integerbox1
    • Set Default:'100' and set a Label:
  • File→Save and Test

EASAP interface should appear as the lower screenshot after pressing 'Add Item' BUTTON three times. 'Update Item' and the EASAP GUI objects below the table allow each value to be adjusted from the default and then 'Updated'.