Skip to content

Comments

Issue14 icons#27

Merged
AtiyahElsheikh merged 55 commits intoOpenModelica:developfrom
AtiyahElsheikh:Issue14_Icons
Apr 29, 2021
Merged

Issue14 icons#27
AtiyahElsheikh merged 55 commits intoOpenModelica:developfrom
AtiyahElsheikh:Issue14_Icons

Conversation

@AtiyahElsheikh
Copy link
Collaborator

All / most graphical annotations have been moved to the package BioChem.Icons.* in a one-one manner

AtiyahElsheikh and others added 30 commits July 1, 2020 13:55
Usage of MSL 4.0.0 after applying the conversion script
The Modelica grammar does not allow annotations except at the end of a class.
* Convert to MSL 4.0.0

* Update version number to 1.0.3
# Conflicts:
#	BioChem/Interfaces/Reactions/Basics/FourSubstrates.mo
#	BioChem/Units/package.mo
@AtiyahElsheikh AtiyahElsheikh requested a review from sjoelund April 29, 2021 09:47
@AtiyahElsheikh AtiyahElsheikh linked an issue Apr 29, 2021 that may be closed by this pull request
Copy link
Member

@sjoelund sjoelund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like the icons are models or packages or connectors. This means that the icons can only be inherited by classes of the same kind.
If they were of type class, anything could use the icon.

@AtiyahElsheikh
Copy link
Collaborator Author

Good point .. At some time point I suffered from inheritance. Packages will remain packages because they correspond to packages and should be inherited only by packages. For the rest, they can become classes.

@sjoelund sjoelund self-requested a review April 29, 2021 11:42
@AtiyahElsheikh AtiyahElsheikh merged commit 0c39dab into OpenModelica:develop Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embedded annotations in components

2 participants