Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 Adeel Asghar, 9 years ago

Status: newaccepted
Type: defectenhancement

comment:2 by Adeel Asghar, 9 years ago

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 by Adeel Asghar, 9 years ago

Milestone: 2.0.01.9.4
Resolution: fixed
Status: acceptedclosed

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

comment:4 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.