#2227 closed enhancement (fixed)
new menu item: "Open Modelica Library"
Reported by: | Lennart Ochel | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
I use OMEdit without any pre-loaded libraries. In the case that I need one (e.g. MSL) it is annoying to click trough the directories until I am at $OPENMODELICALIBRARY. Maybe we should introduce a new menu entry next to “Open Modelica File(s)” called “Open Modelica Library”, which takes me directly to $OPENMODELICALIBRARY.
What do you think?
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
You are right, that would be even better. I guess the „Open Modelica Library“ item should than display the dialogue box from Tools -> Options -> Libraries -> Add.
comment:3 by , 12 years ago
Why should we do that? Just use the “Open Modelica File(s)” and choose the package.mo of Modelica library.
comment:4 by , 12 years ago
Replying to lochel:
In the case that I need one (e.g. MSL) it is annoying to click trough the directories until I am at $OPENMODELICALIBRARY.
A user (eg. me) do not always know where the libraries are.
comment:5 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added a new drop down menu in the File Menu which allows to load all the available libraries. r16282.
follow-up: 7 comment:6 by , 12 years ago
You need a refresh button (or making it a drow-down dialogue instead of a menu). I like to add libraries during OMEdit runtime :)
follow-up: 8 comment:7 by , 12 years ago
Replying to sjoelund.se:
You need a refresh button (or making it a drow-down dialogue instead of a menu). I like to add libraries during OMEdit runtime :)
Yes you can add the library now during the runtime but loading a library with different version is not possible.
comment:8 by , 12 years ago
Replying to adeas31:
Yes you can add the library now during the runtime but loading a library with different version is not possible.
No, if I apt-get install a new library while OMEdit is already running, the menu items do not update. You need to refresh the list :D
Why not something like the dialogue box when we add libraries? $OPENMODELICALIBRARY is not a single directory, but a set of directories.
Anyway, the existing dialogue knows the names of all available Modelica libraries and presents a drop-down list.