Skip to content

Commit

Permalink
Just say "dialog" instead of "parameter dialog" related to Dialog ann…
Browse files Browse the repository at this point in the history
…otation

The Dialog annotation is more widely useful than just for parameters.

Not touching the revision history, where "parameter dialog" is still mentioned.
  • Loading branch information
henrikt-ma committed Jan 22, 2021
1 parent 23c6c8f commit ac429c7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions chapters/annotations.tex
Expand Up @@ -1433,7 +1433,8 @@ \section{Annotations for the Graphical User Interface}\label{annotations-for-the
parameter String caption = "";
end Selector;
\end{lstlisting}
A parameter dialog is a sequence of tabs with a sequence of groups inside them.

In the organization of a tool's user interface, the \lstinline!tab! shall correspond to major divisioning, and \lstinline!group! correspond to sub-divisioning within each \lstinline!tab!.

A \fmtannotationindex{Selector} displays a file dialog to select a file.
Setting \lstinline!filter! only shows files that fulfill the given pattern defined by \lstinline!text1 (*.ext1);;text2 (*.ext2)! to show only files with file extension \filename{ext1} or \filename{ext2} and displaying a description text \lstinline!text1! and \lstinline!text2!, respectively.
Expand Down Expand Up @@ -1487,7 +1488,7 @@ \section{Annotations for the Graphical User Interface}\label{annotations-for-the
end StepIn;

model Step
// nIn cannot be set in the parameter dialog (but maybe shown)
// nIn cannot be set through the dialog (but maybe shown)
parameter Integer nIn=0 annotation(Dialog(connectorSizing=true));
StepIn inPorts[nIn];
...
Expand Down

0 comments on commit ac429c7

Please sign in to comment.