Overview of the new features in SilverModel 2018.4.1
In this release, there are a number of new features that will help improve your experience and productivity within SilverModel.
The new features are:
- Your Code Generators
- Improved Undo/Redo Support.
Your Code Generators
Your Code Generators allows you to create your own code generators in a separate location. This will allow you to create your library of code generators and still access the supplied code generators from Silverdawn Software.
Setting Your Code Generators Path
To set the location of where you are storing your code generators. Open the “Settings” where you will be able to see the current path for “Your Code Generators”. You can change this to any location you require.
Source Control for Your Code Generators
We highly recommend that you have the Your Code Generators directory under source control. Any modern source control software like Git or TFS would work well. This way you can track your changes and share the code generators with your team.
Modifying an existing SilverModel Code Generator
There are two methods for modifying an existing SilverModel Code Generator.
- Edit in place
- Copy to Your Code Generators
Edit in place
You can edit the existing SilverModel Code Generators directly. Then you can use Git to merge in any changes to the SilverModel Code Generators on GitHub. Just be aware that changes in GitHub could overwrite your modifications. Also if you want to share your modifications you can submit a pull request to GitHub for us to add these to the main repository.
Copy to Your Code Generators
The other method is to locate the directory for the existing SilverModel Code Generator and copy that directly to path for “Your Code Generators”. This way any modification you make won’t be overridden by changes in GitHub but you won’t receive any updates or improvements on GitHub. Cut/Copy and Paste support for copying folders and files will be added directly to SilverModel soon.
Undo/Redo Support
The undo/redo support in SilverModel has been rewritten from the ground up.
Now each undo/redo operation is been recorded and stored in the database for all the modeling operations. All your changes from the time the file is first created to your last edit are recorded. This allows you at any point to rewind via undo your model to a previous state.
While most undo/redo operations only affect a single element, some actions will cause multiple undo operations to be created. When you delete a Class or Interface from a Class Diagram then all the relations for that Class will be deleted first, then finally the Class will be deleted. When you press undo, firstly the class will be restored, then each followed undo will restore the relationships for the class.
Undo/Redo support for text files has remained unchanged.