Opened 16 years ago

Last modified 15 years ago

#1050 closed defect (fixed)

Introduce an annotation for toggling flipping of rectangular primitives. (from MathCore)

Reported by: krsta Owned by: krsta
Priority: normal Milestone:
Component: Version:
Keywords: Cc: krsta,

Description

Introduce a graphical (vendor) annotation for toggling flipping of rectangular primitive items. This will be an extension to the Modelica 3 graphical annotations and will be located at the same level as icon and diagram annotations.

This ticket is critical for rendering the Modelica 3 annotations correctly if we still want to enable flipping of rectangular primitive items. Right now the model editor will display a lot of text flipped.

Example:

annotation(__MathCore(flipRectangularItems=<boolean>));

In the kernel the addClassAnnotation(<cref>) call will have to be able to accept an annotation such as:

__MathCore(flipRectangularItems=<boolean>)

and a new function for retrieving the annotation must be implemented:

getMathCoreAnnotation(<cref>)

This ticket will also involve some work in the model editor once implemented in the kernel.

Change History (1)

comment:1 by Jan Brugård, 15 years ago

This is not relevant for OpenModelica. Closing.

Note: See TracTickets for help on using tickets.