Community Resources

Community Resources (111)

The Community Resources section may include Enterprise Architect models, scripts, technologies and add-ons. These resources can extend and enrich the Enterprise Architect experience. Use this link to submit innovative tools, models, add-ons and resources that the enterprise architect community may find beneficial.

Monday, 19 November 2012 08:49

Export your EA models to Eclipse UML

Written by
Enterprise Architect supports a UML 2 export, which produces an XML file valid to the OMG’s UML specification. Nevertheless, it is not possible to open it with an UML editor of Eclipse without any modifications, because the Eclipse implementation of the UML2 metamodel differs in some places. We developed an XSLT script, which can be easily added to Enterprise Architect as MDG Technology, for exporting a UML file. This file can be opened and edited directly in Eclipse with traditional tree-based UML editors. Currently, Class Diagrams and simple State Charts are supported.   Follow these simple steps if you have…
The function ExecuteSQL will run a SQL select statement with a variable list of arguments and return a dictionary with the resulting rows. Each row contains itself a dictionary of columns.To test this script create a new 'Normal' script (type VBScript) and replace the contents with the script below. The scripting output window displays a list of classes and usecases in your project with names starting with 'SSS'. option explicit !INC Local Scripts.EAConstants-VBScript mainsub main    Dim row, dict    Set dict = ExecuteSQL("select * from t_object where name like '{0}' and Object_Type in ({1})", _        "SSS*|'Class','Usecase'")    if not dict is…
Sunday, 09 September 2012 18:22

Debug your add-in directly in EA with MS express edition

Written by
It is explained in an article by Kean Walmsley that can be found here: simply include the snippet <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">    <StartAction>Program</StartAction>    <StartProgram>C:\Program Files\Sparx Systems\EA\EA.exe</StartProgram></PropertyGroup> in the <your project name>.vbproj.user file, restart MS express and you are good to go. I've tested this for both MS VC# 2010 express and MS VB 2010 express and it works.  Cudos to Kean and happy debugging!
Thursday, 02 August 2012 18:37

Automated Estimation using Enterprise Architect.

Written by
This paper details an approach for creating automated measures of the scale and complexity of an enhancement, based on artifacts stored in Enterprise Architect (EA) from Sparx Systems. These scale and complexity measures can then be translated into level-of-effort estimates.
Monday, 16 July 2012 18:57

Adding Connectors to Diagrams

Written by
To execute this script import it into a model, open a diagram, right-click a class element and select Scripts | AddConnectorDemo. In the example model, add_con_demo, the script is located in the APG Diagram Scripts group. To install the script from the XML file: Installation Open the model Import the script to set the «RequirementsRelated» association - Project | Model Import/Export | Import Reference Data - Select the add_con_demo.xml script file - Select Automation Scripts in the import dialog box - Select Import - If it's not already opened, open the Scripting window -- View | Scripting - press the…
Friday, 13 April 2012 02:30

Apply Windows7 Jump Lists to EA.exe

Written by
Prerequisites: - Windows 7 Administrator rights - The Windows 7 Jump List feature currently works with existing applications   Please Note: Modifying Windows Registry Settings may cause severe issues.  Do not edit the Windows registry unless you are confident about doing so.  We recommend that you backup your registry settings before any modifications are made.   Steps:   1. Copy the following text and paste to a text editor. Then save it with .reg extension   -- from here --   Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\.eap\OpenWithProgIds] "EAPFile.JumpList.1"=""   Windows Registry Editor Version 5.00   [HKEY_CLASSES_ROOT\.eap\OpenWithProgIds] "EAPFile.JumpList.1"=""     --…
Purpose List all incoming Sequence and Collaboration messages for elements of a given package branch and give an indicator whether the message relates to a realized Element-Operation or whether it has been entered manually. Installation Create new JScript "ListMessages" in a "Project Browser Group" scripting group and copy the script content from the attached file. Usage right-click on a package or element in the element browser and call the script the analysis is done on all elements in the current package hierarchy a double click on a result row opens the properties of the connection so that corrections can be…
Overview When planning resource utilization for a large project, the task allocation details can be defined against each element in the project and assigned to a resource (a staff member). This process can be completed in Enterprise Architect or MS Project. This script provides support to exchange project details between Enterprise Architect and MS Project. If resource utilization has already been defined external to the model, this script allows you to easily import the details into your Enterprise Architect Repository. Import The import script imports Tasks from MS Project and creates a tree of Elements within a Package. This element-tree…
The code itself must be integrated in an EA Extension. This is not included here. To use the code you have to instantiate the class RefImage with open Repository and an OleDB connection string to the open repository. After initiation of the class you can use the method create to create a file in EA Reference File format to import the images completely via standard import of EA or you can use write to import each image directly in the EA database tables. For both methods the recursive option scans the selected folder and all subfolders. Feel free to change…
Wednesday, 11 January 2012 01:39

Model Simulation - A Simple Cafe Model

Written by
Model Simulation The zip file below contains a State Machine and a Sequence Diagram that model the operation of a simple Cafe. The file has been used to create video demonstrations of Enterprise Architect simulation capability. Exploring this model may help you to get started using simulation in Enterprise Architect. You may wish to view the video Creating a Sequence Diagram, which contains footage that illustrates how to simulate a sequence diagram using Enterprise Architect.
Page 6 of 8