Skip to content

Conversation

@perost
Copy link
Member

@perost perost commented Mar 8, 2023

Fixes #10348

@perost perost added the COMP/GUI/InstBased Interface Issues with new instantiation-based OMEdit feature label Mar 8, 2023
@perost perost self-assigned this Mar 8, 2023
@perost
Copy link
Member Author

perost commented Mar 8, 2023

@adeas31: This isn't quite as simple as we discussed, I realised that you probably need the fully qualified name of the class if you want to be able to e.g. call getModelInstance on it. So rather than just dumping the name as it is I look it up and dump the name from that instead. If the name couldn't be found then the name isn't dumped, since I guess you wouldn't have much use for the declared name in that case.

Also, I named the property "type" rather than "name", since that better reflects what it is.

@perost perost merged commit 6db8c7b into OpenModelica:master Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

COMP/GUI/InstBased Interface Issues with new instantiation-based OMEdit feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dump the redeclared class name

1 participant