Opened 10 years ago
Closed 10 years ago
#3157 closed defect (fixed)
OMEdit ignores annotation(Dialog)
Reported by: | Rüdiger Franke | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.9.2 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Adrian Pop |
Description
Recently we shifted parameter qualifiers from record elements to whole record instances in the PowerSystems library. The respective record elements were marked with annotation(Dialog)
to still get them into the parameter dialog of a GUI.
See https://github.com/Modelica/PowerSystems/pull/5
OMEdit ignores these annotations. There finds models in the MSL that do the same and that do neither work, for instance:
Modelica.Mechanics.MultiBody.Visualizers.Advanced.Arrow
See also Modelica.UsersGuide.ReleaseNotes.Version_2_2_1
that introduced annotation(Dialog)
to MultiBody
.
Other models seem to work as soon as they decorate the Dialog annotation, e.g.:
Modelica.Blocks.Sources.RealExpression
with annotation(Dialog(group = "Time varying output signal"), ...)
Change History (4)
comment:1 by , 10 years ago
Cc: | added |
---|
comment:2 by , 10 years ago
Component: | OMEdit → Frontend |
---|---|
Owner: | changed from | to
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
Its because
OMC
ignores the emptyDialog
annotation. The GUI receives this information,