Type selection

Whenever you need to give a type of something in the dialog, the type selection component is used. The type selection lets you type any class name or you can pick one from the list.

When you select a class that is in the system and has formal generic parameters, the type selection component lets you specify an actual generic parameter in another type selection.

Note: The window might grow in size because of the added component.

Since the actual generic type selection is also a type selection, you can select another class with generic parameters and nest them as deep as you need.

You can also select the type TUPLE, which is a special class that can have zero or more generic parameters. When you select it, it has no parameters, but you can add one by clicking on the Add parameter button. Click it as often as the number of generic parameters that you need.

Warning: If you need a very complex type, it is better not to use the dialog, as the window might grow bigger than your screen. After you completed the feature, edit it manually in the class text.

The code generated for the selected type is quite straightforward, an example:


cached: 02/27/2017 5:17:51.000 PM