Micro Focus Expert
Micro Focus Expert

How to use the 'Multi Select' Enumerated field (StarFlow Extensions 14.x) in Alternate Property Editor

Multi-Select Enumerated fields have been able to be created since introduction of StarTeam 12.x - however, until StarFlow Extensions 14.x has been released, their use has been limited to standard Custom Field values in the CPC.

To create & user a multi-select Enumerated Field in a Custom APE (Alternate Property Editor), they are defined in Java slightly different that the standard single-select Enumerated Field.

The are defined in the StarTeam CPC similar to a single-select Enum field with the exception that you must select the "Supports multi-select" check-box.

When you create your Form in Java (for example ChangeRequestForm.java) you define a multi-select Enum as a "ListEditor" (rather than a ComboEditor as with the standard Enumerated field)

Both fields are created in Java and have similar Properties as other Custom Field Types...

private ListEditor getMultiSelectEnum() {
 if (comboEditorMultiSelect == null) {
  comboEditorMultiSelect = new ListEditor();
  comboEditorMultiSelect.setLabelTextOverride("Multi-Select Enumerated Example");
  comboEditorMultiSelect.setBounds(27, 36, 315, 143);
 return comboEditorMultiSelect;

private ComboEditor getSingleSelectEnum() {
 if (comboEditorSingleSelect == null) {
  comboEditorSingleSelect = new ComboEditor();
  comboEditorSingleSelect.setLabelTextOverride("Single-Select Enumerated Example");
  comboEditorSingleSelect.setBounds(27, 194, 315, 47);
 return comboEditorSingleSelect;

For further information, including the updated JavaDoc, please refer to the following Wiki page;

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.