Gloop Input/Output view
The Input/Output view, located at the bottom of Martini by default, is used to view and edit service inputs and outputs.
Input/Output view not visible
If you want to display the Input/Output view in Martini Desktop, go to the application menu Window > Show View > Input/Output. Alternatively, you can use the shortcut .
This view is composed of two Data model editors placed together side by side.
View layout
In Martini Desktop, the Input/Output view offers different layouts for the two data model editors: Horizontal, Vertical, Tabs, and Auto. By default, the Auto layout is selected; it displays the data model editors either horizontally or vertically depending on the available space. The layout can be changed by clicking the table shaped icon on the view toolbar, on the top right of the Input/Output view.
Renaming and deleting
The renaming and deleting of properties does not refactor the steps referencing them.
Adding inputs and outputs
Martini makes it easy to define the input and output variables of Gloop services using the Input/Output view. This view is shown by default when editing a service.
There are multiple ways to add an input or output variable. You can use:
- Hotkeys;
- Content-assist;
- The add button in the Input/Output view toolbars; and
- Right clicking on the Input/Output view, and then selecting Add.
The last two options are fairly similar in that they both bring up a context menu listing all available property types. After selecting the type of variable you want from the context menu, you will be given the option to rename the property. Once done, press to finalize the name.
Renaming
You can rename a property by right clicking it, and then selecting Rename from the appearing context menu. As an alternative, you can also press .
Content-assist
Pressing while focused on the Input/Output view triggers content-assist, which enables the user to quickly insert a variable using just the keyboard. Aside from primitive variable types, it also allows the user to pick data models and array variables. Use the arrow keys to shuffle through available types and press to confirm your choice.
Dragging and dropping models
Another alternative to adding input or output data model properties is to drag and drop them from the Navigator view to the Input/Output view.