Opened 7 years ago

Last modified 3 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)

Test.mo (417 bytes ) - added by Andrea Bartolini 7 years ago.

Download all attachments as: .zip

Change History (7)

by Andrea Bartolini, 7 years ago

Attachment: Test.mo added

comment:1 by Martin Sjölund, 7 years ago

Cc: Adrian Pop added
Milestone: 1.13.02.0.0

This would need the new interactive API (OM 2.0.0)

comment:2 by Francesco Casella, 6 years ago

Milestone: 2.0.01.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 Francesco Casella, 5 years ago

Milestone: 1.14.01.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:4 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:6 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.