Using the complete Enterprise Architect C# add-in template will help you speed up the process of writing add-ins for Sparx Enterprise Architect
In the post Tutorial: Create your first C# Enterprise Architect addin in 10 minutes you can find a basic template that can be used to create C# add-ins for Enterprise Architect.
But this basic template is far from complete. The EA API provides a whole set of events that can be used in an add-in.
To use one of these events you have to create a public operation in the add-in class that contains the signature of the event.… Read more
The last few days I published some of my side-projects to GitHub.
I created three repositories
- UML Tooling Framework
This repository contains all tool-independent parts of the framework. It is basically a C# translation of the UML Metamodel.
- Enterprise Architect Add-in Framework
This repository stores all framework stuff to create add-ins and tools upon Enterprise Architect.
It currently contains an EA wrapper library based on the UML Tooling Framework, the EA Add-In Tester as described in Testing and Debugging your C# Enterprise Architect Add-in, a base complete add-in base class that contains all of the EA events, and an example add-in as described in Creating your first C# Enterprise Architect Add-in in 10 minutes
- Enterprise Architect Toolpack
This repository will contain all of the actual tools and add-ins for Enterprise Architect.
In my previous post Tutorial: Create your first C# Enterprise Architect add-in in 10 minutes I explained how to create a simple add-in for Enterprise Architect.
(Smoke) testing your add-in
Once created you will of course want to test it to see whether it works.
The logical thing to do is fire up Enterprise Architect and try it out. And then, as it goes with software development, you discover a bug, or a missing feature.
Next thing you do is correct the problem, build the project… and get an error, because the add-in dll is being used by Enterprise Architect and it can’t be overwritten by Visual Studio.… Read more