Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2144 closed defect (fixed)

Parameters of extended class(es) not shown in properties dialogue

Reported by: albertoleva Owned by: Adeel Asghar
Priority: high Milestone: 1.9.0
Component: OMEdit Version: trunk
Keywords: OMEdit, extends, parameters Cc:

Description

When a library model that extends another library one is added to a third model and then the "properties" dialogue is opened for it, the parameters of the extended model do not show up. To reproduce the problem

  • create a new model,
  • add, e.g., a Modelica.Mechanics.Translational.Components.Rod element (the Rod class extends Translational.Interfaces.PartialRigid),
  • right-click on the newly added rod to pop up the "properties" dialogue;

the L parameter, that comes from the extended PartialRigid model, does not show up.

Apparently the problem can be worked around by editing the created model as text and adding the necessary modifier, but needless to say, doing so is quite impractical. Am I doing something wrong or is this actually a problem?

I am using OMEdit 1.9.0 connected to OpenModelica 1.9.0 beta4 (r15029) on a 64bit Ubuntu machine.

Thanks in advance.
Best,

Alberto Leva

Change History (3)

comment:1 by albertoleva, 12 years ago

Summary: Parameters of extended class(es) not shown in propoerties dialogueParameters of extended class(es) not shown in properties dialogue

comment:2 by Adeel Asghar, 12 years ago

Resolution: fixed
Status: newclosed

The problem is already fixed. Install the latest nightly build.
https://trac.openmodelica.org/OpenModelica/ticket/1714

comment:3 by albertoleva, 12 years ago

Thanks, and apologies for not noticing #1714

Note: See TracTickets for help on using tickets.