New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP - Snapshot based redo undo functionality for OMSimulator models #911
Conversation
Component names cannot contain dots. Please replace them with underscores or something else. |
Instead of auto replacing them, I added a check for dots. |
Everything works rather well I think. Just some minor comments:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments above
I see but the error message is not very helpful. It says
Done.
Done. |
Do you want me to test it again? |
I will let you know when its ready for testing again. |
Not yet. I need some more time to finish this. |
OK, no problem 😃 |
@lochel this is up for testing again. |
@adeas31 I have again the problem that not all changes end up in the build of OMEdit. Even though you did change the Makefile to fix this problem as far as I remember. |
Strange. Maybe you still have the old makefile and qmake skips the generation of the new one. |
How should I force to build OMEdit then? |
|
Create new OMSimulator models by right clicking in the Libraries Browser Improved the addsubmodel dialog. Let user first select the file and then propose name from filename. Fixes ticket:5789 Fixes ticket:5984 Disable the text view if its not allowed to edit. Tabs should be preserved when accepting text changes. The open nodes of the tree view in the libraries browser should be preserved when accepting text changes. Handle deletion of multiple components. Convert dots to underscores in submodel name. Set background-color to show the read-only ssp editor as disbaled. Renamed OMSimulator menu item to SSP. Use the same GUI buttons for simulation. Separated instantiation from simulation setup. Disable the changes once the model is in instantiated state. Get rid of OMSSimulationOptions.h InstantiateDialog.h/.cpp Accept text changes when user clicks in the libraries browser. Open directly the file browser when adding a submodel. Use just one setting for working directory.
Fixes ticket:5984