Skip to content

Commit

Permalink
Break out example of tool-specific choice of group
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jan 24, 2021
1 parent 7edadcd commit a55e776
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion chapters/annotations.tex
Expand Up @@ -1371,9 +1371,13 @@ \section{Annotations for the Graphical User Interface}\label{annotations-for-the
For a short replaceable class definition only the fields \lstinline!tab!, \lstinline!group!, \lstinline!enable! and \lstinline!groupImage! are allowed.

In the organization of a tool's user interface, the \lstinline!tab! shall correspond to a major divisioning of ``tabs'', and \lstinline!group! correspond to sub-divisioning of ``groups'' within each tab.
An empty \lstinline!group! (the default) means tool-specific group, allowing, for example, parameters to be placed in the group ``Parameters'' and variables with \lstinline!showStartAttribute = true! to be placed in the group ``Start Attributes''.
An empty \lstinline!group! (the default) means tool-specific choice of group.
The order of components (and class definitions) within each group and the order of the groups and tabs are according to the declaration order, where inherited elements are added at the place of the extends.

\begin{example}
When \lstinline!group! is empty, a tool may place parameters in the group ``Parameters'', and place variables with \lstinline!showStartAttribute = true! in the group ``Start Attributes''.
\end{example}

If \lstinline!enable = false!, the input field may be disabled and no input can be given.

If \lstinline!showStartAttribute = true! the dialog should allow the user to set the start-value and the \lstinline!fixed! attribute for the variable instead of the value of the variable.
Expand Down

0 comments on commit a55e776

Please sign in to comment.