Scripting Enterprise Architect
Scripting Enterprise Architect
A guided tour to Enterprise Architect's scripting capabilities
About the Book
This book gives you a kick-start into scripting Sparx' Enterprise Architect. The API is explained from the bottom leaving out any burden. Having worked through the book should make you a real EA hacker!
At a glance you will find the follwing topics covered in this book:
- Step by step introduction into the API starting from the repository going into elements bits an pieces
- Examining a repostitory
- Creating simple and complex structures
- Reference for most API objects with methods and attributes
- Explanation of quite some internal must-knows
- Cross reference from/to the GUI
If you are new to EA this book will guide you step by step into the details of the API. If you are an advanced user the reference sections will be an excellent helper not to be found elsewhere in Sparx' documentation.
As most books published here on Leanpub, Scripting Enterprise Architect is written in a way which is currently being called agile. That means the book will permanently be updated. One might call this book complete, but I'm continuously working on it to keep it up to date and improve it.
Bundles that include this book
Table of Contents
- 1. Preface
- 2. Copyright and Disclaimer
-
3. Introduction
- 3.1 Notation
-
4. EA’s Object Model
- 4.1 Accessing EA from the Outside
- 4.2 Repository
- 4.3 Package – and View – and Model
- 4.4 Element
- 4.5 Connector
- 4.6 Diagram
- 4.7 TaggedValue
-
5. Creating New Things
- 5.1 Adding a Root
- 5.2 Adding a View
- 5.3 Adding a Package
- 5.4 Adding an Element
- 5.5 Adding a Connector
- 5.6 Adding a Diagram
- 5.7 Adding Diagram Objects
- 5.8 And the Opposite
-
6. Advanced Creations
- 6.1 Stereotypes
- 6.2 Semi-manual Element Creation/Selection
- 6.3 Adding a Scenario
- 6.4 Create Connector for Attributes
- 6.5 Nasty Things
- 6.6 Connector to Connector
- 6.7 More Undocumented Stuff
- 6.8 Creating Things from a MDG
-
7. Object Details
- 7.1 EaRepository
- 7.2 EaPackage
- 7.3 EaElement
- 7.4 EaAttribute
- 7.5 EaMethod
- 7.6 EaParameter
- 7.7 EaConnector
- 7.8 EaConnectorEnd
- 7.9 EaDiagram
- 7.10 EaDiagramObject
- 7.11 EaDiagramLink
- 7.12 EaTaggedValue
- 7.13 EaRequirement
- 7.14 EaConstraint
- 7.15 EaScenario
- 7.16 EaScenarioStep
- 7.17 EaScenarioExtension
- 7.18 EaCollection
- 7.19 EaKeyValue
- 7.20 Missing Objects
-
8. Bits and Pieces
- 8.1 Ordering of Collections
- 8.2 GUID
- 8.3 Diagram Types
- 8.4 Object Type Enumeration
- 8.5 Element Types
- 8.6 Element Subtypes
- 8.7 RGB Values
- 8.8 Coordinates
- 8.9 Semi-colon Separated List
- 8.10 Connector StateFlags Property
- 8.11 Width of Connectors
- 8.12 Diagram Object Style
- 8.13 Connector Style
- 8.14 Run State
- 8.15 Geometry
- 8.16 Enumeration Relation Set
- 8.17 XML Result String
-
9. GUI Reference
- 9.1 Element
- 9.2 Attributes
- 9.3 Operations
- 9.4 Connector
- 9.5 Diagram
- 9.6 Miscellaneous
-
10. Further Reading
- 10.1 Feedback
- 10.2 Inside Enterprise Architect
- 10.3 Sparx Forum
- 10.4 Sparx Community
- 10.5 Geert Bellekens
- Notes
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them