Opened 8 years ago
Last modified 4 years ago
#4658 new defect
OMEdit does not show pop-up list of enumeration type in parameter's pop-up window
| Reported by: | Andrea Bartolini | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | OMEdit | Version: | v1.13.0-dev-nightly |
| Keywords: | Cc: | Adrian Pop |
Description
Consider the following test (also attached)
package Test
model A
type ActionType = enumeration (direct "action is direct",
reverse "action is reverse");
end A;
model B
extends A;
parameter ActionType action1;
parameter Test.A.ActionType action2;
end B;
model C
B b1 annotation(
Placement(visible = true, transformation(origin = {-50, -2}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
end C;
end Test;
Open the model C and double-click on model b1: in parameters pop-up window the pop-up list is shown only for the parameter action2.
The problem seems related to the path in parameter definition.
OMEdit 1.13.0~dev-65-g33fb188
Connected to OpenModelica 1.13.0~dev-438-g85aa869
sysop linux Ubuntu 16.04 - 64 bit
Attachments (1)
Change History (7)
by , 8 years ago
comment:1 by , 8 years ago
| Cc: | added |
|---|---|
| Milestone: | 1.13.0 → 2.0.0 |
comment:2 by , 7 years ago
| Milestone: | 2.0.0 → 1.14.0 |
|---|
This should actually be made to work in 1.14.0, as the new interactive API will be available then.
comment:3 by , 6 years ago
| Milestone: | 1.14.0 → 1.16.0 |
|---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:5 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.

This would need the new interactive API (OM 2.0.0)