Enterprise Architect version 14.0

download
purchase

enzh-CNcsnlfrdehiiditkoplptruskessv

My Profile

Social Media Channels

facebook  twitter  youtube   linkedin

Helmut Ortmann

Helmut Ortmann

Helmut Ortmann

Freelancer (Consultant)
 
I'm a German freelancer in the area of Enterprise Architects and software/system engineering. A large part is embedded and Functional Safety with EA. But not only...
 
According to Albert Einsteins aphorism "Make things as simple as possible, but not simpler” I like to smoothen work with Addins and an easy to use EA Tool integration in a complex development environment. Another step in my opinium are lively workshops to get an enjoyable and long lasting launch of the daily EA work.
 
Well, of course that’s not all and you have therefore good reasons to contact me. See you….
 
See my hoTools WiKi at GitHub.
Sunday, 27 January 2013 15:32

Usage of an element at your finger tip

Find Usage of an Element

The issue:

You have an element in

  • Browser
  • Diagram
  • Search Window

and you want to see where this element is used.

 

The solution:

  1. Right click on the Element (Browser, Diagram, Search Window)
  2. Scripts, Element Usage
  3. EA lists the usage of the element in the Search Window

Example Find usage of an enumeration

 

Which usages are detected?

  • class, instance, object, part
  •  type in attribute, operation
  •  usage in diagram
  • operation to Sequence, Behavior, Call Action
  • etc.

 

Which repositories are supported?

  • *.eap
  • Oracle
  • SQL Server

 

Installation:

  1. Copy hoTools.xml into ...\Sparx System\EA\MDG\Technology
  2. Open Scripting View (either in View or in Tools)
  3. Create New Scripting Groups of type: Project Browser, Diagram, Model Search
  4. Create in each group a VB Script (New VB Script) and name it “Element usage” or so
  5. Copy the Script in each group (Copy and Past the content of the existing "Find Usage" Script

 The Scripting View with the Scripts Groups and the Scripts (Copy+Paste)

 

Installation:

Set completeness marker for classes in diagrams

When seeing a class in a diagram it's unknown whether this class is shown with all its associations. This Addin modifies the  class border (bold,standard, red) of the diagram to visualize whether the class is :

  • visualized with all its model wide associations
  • visualized with all its associations of the diagram
  • incomplete visualized (hidden associations in diagram)

Prerequisites

  • Enterprise Architect 7. or later
  • Windows
  • NET Framework 3.5 or later
  • Windows rights for instalation

 

Installation 

  • Download Windows Installer
  • Unzip
  • DiagrIsComplete.msi installieren
  • Installer installs DiagrIsComplete as a Enterprise Architect Addin
  • EA, Restart, Addins, Manage Addins, Check 'Load on Startup'
  • You may explore functionality with attached EA model
  • Deinstallation like standard Windows

 

Functions

  • 'Set completeness markers..' sets the completeness markers for the choosen diagrams or all diagrams
  • 'Reset completeness markers..' resets the completeness markers for the choosen diagrams or all diagrams
  • 'Help' a short help
  • 'About'
  • The functions Set / Reset work on
    • Selected Diagram
    • Selected Package and all the diagrams contained in Package or Subpackages(recursive)
    • All diagrams of the model

 The command 'Set completeness markers' modifes the diagram:

The classifier has 'bold' border if: Classifier is visualized in diagram with all associations of the model.

The classifier has 'standard' border if: Classifier is visualized in diagram with all associations of the diagram (no hidden associations).

The classifier has 'red' border if: Classifier is visualized in diagram with hidden associations.

Involved classifier

  • Class 
  • Component
  • Interface
  • PrimitiveType
  • DataType
  • Signal

Involved associations

  • Association
  • Aggregation
  • Composition

 

 

Page 2 of 2