Skip to content

Commit

Permalink
Merge descriptions of Dialog 'tab' and 'group'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jan 24, 2021
1 parent a80b895 commit c443bb7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1371,11 +1371,9 @@ \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''.
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.

The \lstinline!tab! and \lstinline!group! define the placement of the component or of variables in a dialog with optional tab and group specification, where the empty string (default) means tool-specific group.
The idea is that a tool may as default place parameters in the group ``Parameters'' in the tab ``General'', but add e.g., variables with \lstinline!showStartAttribute=true! to another group.

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 c443bb7

Please sign in to comment.