Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3746 closed enhancement (fixed)

Add and manage uses annotations in OMEdit

Reported by: casella Owned by: adeas31
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 Changed 9 years ago by adeas31

  • Status changed from new to accepted
  • Type changed from defect to enhancement

comment:2 Changed 9 years ago by adeas31

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.

comment:3 Changed 9 years ago by adeas31

  • Milestone changed from 2.0.0 to 1.9.4
  • Resolution set to fixed
  • Status changed from accepted to closed

Added a GUI interface to manage uses annotation (c09a16c/OMEdit). Right click on the diagram and select properties and then version tab.

comment:4 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.4-1.9.x

Milestone renamed

comment:5 Changed 8 years ago by sjoelund.se

  • Milestone changed from 1.9.4-1.9.x to 1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.