#3746 closed enhancement (fixed)
Add and manage uses annotations in OMEdit
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | high | Milestone: | 1.9.4 |
Component: | OMEdit | Version: | v1.9.4-dev-nightly |
Keywords: | Cc: |
Description
When creating a new package in OMEdit, no uses
annotation is created if some libraries (e.g., the MSL) are referred to in it.
This may cause serious problems when the library is later re-opened in a different tool, which might have different default.
Possible solution: whenever a class from package P is referenced in an addition to an existing package Q in OMEdit, the tool should check if a uses annotation for package P exists in Q. If not, it should propose to add it.
Of course this is reasonable only if it doesn't add too much overhead.
It is also true that any such solution will be partial and possibly troublesome, until the whole issue of package managing in Modelica libraries is finally addressed by the MA, but this is another story.
Change History (5)
comment:1 by , 9 years ago
Status: | new → accepted |
---|---|
Type: | defect → enhancement |
comment:2 by , 9 years ago
comment:3 by , 9 years ago
Milestone: | 2.0.0 → 1.9.4 |
---|---|
Resolution: | → fixed |
Status: | accepted → closed |
Added a GUI interface to manage uses annotation (c09a16c/OMEdit). Right click on the diagram and select properties and then version tab.
The uses annotation is now added (3a8a1e7/OMEdit) when a component is dragged to a class.
What's left now is a nice GUI interface to manage them.