Previous | Contents | Next

Creating and Modifying InstallOptions Controls

InstallOptions controls can be created on the design editor canvas in several ways:

Once created, the settings of the controls can be modified using the Properties view. Some settings can be updated directly on the design editor canvas using Direct and Extended edit. Additionally, one or more selected controls can be enabled or disabled directly from the right-click popup context menu. This is equivalent to removing or adding the DISABLED flag, respectively.

Properties View

The Eclipse Properties view displays setting names and values for the selected control on the design editor canvas. If no control is selected, the settings for the InstallOptions dialog itself are displayed. If the Properties view is not open in the current perspective, it is opened and activated. If it is opened, but inactive, it is activated.

Dialog Settings
InstallOptions Dialog Settings

Control Settings
Sample Control Settings

Beginning with InstallOptions 0.9.5, the settings editor is form based. The classic (or tabular) settings editor can still be accessed by clicking on the "Classic" tab in the Properties view (click on the images above to preview the classic tab).

Form Based
In the form based settings editor, the various settings are logically grouped and can be directly modified. Settings which are modified using checkboxes, radio buttons and combo boxes are immediately applied, while settings which are modified using text boxes are applied either when text box loses focus or when the Enter key is pressed (Ctrl+Enter for multiline text boxes).
Classic (or Tabular)
In the classic (or tabular) settings editor, if a setting is user editable, then clicking on the setting value in the Properties view enables the user to edit the value. In most cases, the value is modifiable directly in the Properties view- either by editing its text or by selecting a value from a dropdown list. In some cases, however, the value can only be edited in a separate popup dialog. These cases are described below:
Control Setting Dialog
FileRequest Filter
FileRequest Filter Dialog
This dialog is used to define a set of one or more filters for the FileRequest control. Each filter consists of one or more file patterns. These patterns are in the form of standard Microsoft file name wildcards. The summary section in the dialog lists the filters currently defined. This list may be used to create, delete or reorder filters. A filter may be edited by clicking on it in the summary table, which loads the filter into the detail section. The patterns may be edited in the detail section by directly clicking on them and entering the desired pattern text in-place.
All Flags
Flags Dialog
This dialog is used to choose the flags to apply to the selected control. Only the flags which are valid for the selected control will be available in this dialog.
DropList
Combobox
Listbox
ListItems
ListItems Dialog
This dialog is used to specify a list of items for the selected control. Items may be added, deleted or rearranged in this dialog. An item can be edited be clicking on it and typing the desired text in-place.
Listbox State
Listbox State Dialog
This dialog is used to choose the selected items for the Listbox control. If either the MULTISELECT or EXTENDEDSELCT flags are specified, then this dialog allows multiple selections, otherwise only a single selection is allowed.
LabelText
Multiline Dialog
This dialog is used to enter multiline text for controls which support it. In case of Text controls, this dialog is only available if the MULTILINE flag has been specified.
TextState
Link TxtColor The standard Windows color selection dialog is displayed.
← Back

Direct and Extended Edit

The design editor permits the editing of some settings in-place on the canvas. These are accomplished using the Direct edit and Extended edit features. Direct edit is enabled when a single mouse click is performed on a selected control. Extended edit is enabled when a double click is performed on a control- whether it is selected or not. These features are also available from the right-click popup context menu on the canvas when a single control is selected. The table below lists settings which may be edited using Direct edit or Extended edit.

Control Direct Edit Setting Extended Edit Setting
Label Text --
Text State --
Password State --
Combobox State ListItems
DropListStateListItems
ListboxStateListItems
CheckBox Text State
RadioButton Text State
FileRequest State Filter
DirRequest State --
GroupBoxText--
Link Text TxtColor
Button Text --
← Back

Outline and Overview

The design editor includes an outline view for the InstallOptions script currently being edited. It offers two depictions:

Outline List
Outline List
      Outline Overview
Outline Overview
← Back
Previous | Contents | Next

Copyright © 2004-2010 Sunil Kamath (IcemanK).

Canvas Palette Ruler