eaUtils

Utilities add-in for Sparx Systems Enterprise Architect

Sorting elements: help section

Sorting elements: help section

eaUtils sorting features act on the elements from a package or an element within an Enterprise Architect project. Sparx Systems Enterprise Architect applies a default sorting "string" order based on the type and name of the elements. However in order to achieve a better management and more efficient use of the elements from within the Enterprise Architect project browser, it can be useful to have alternative and enhanced sorting options.

Extended eaUtils sorting features and settings provide the option to sort elements based on various fields (e.g. stereotype), an integer value which may be surrounded by a prefix and/or suffix (e.g. REQ-1-PERF), having case sensitivity enabled, etc.

eaUtils sorting features include:

Important - this feature can modify the elements or diagrams "Tree Position" hidden field value.

eaUtils add'in lets you sort elements from a package or an element either by the Alias, Stereotype, Name, or Tagged Value. This feature can be executed by selecting the package or element to process from the project browser.

This help article covers the following topics:

Last modified on Tuesday, 07 November 2017 12:18

eautils sort by alias

This help article explains how to use eaUtils Sort By Alias feature on the elements that are contained within a package or element.

This feature runs from a package or an element, selected from the Project Browser (it can also be run on a package tree, click here for more information).

Last modified on Wednesday, 08 November 2017 13:21

eautils sort by tagged value

This help article explains how to use eaUtils Sort By Tagged Value feature on the elements that are contained in a package or element. By default, eaUtils sorts elements according to the "BrowserOrder" Tagged Values. Settings introduced in eaUtils 1.11 make it possible to change the name of the Tagged Value, e.g. "element id" or anything else.

This feature runs on a package or an element selected from the Project Browser (it can also be run on a package tree, click here for more information).

Last modified on Monday, 13 November 2017 12:59

eautils sort by stereotype

This help article explains how to use eaUtils Sort By Stereotype feature on the elements that are contained in a package or element.

This feature runs on a package or an element selected from the Project Browser (it can also be run on a package tree, click here for more information).

Last modified on Wednesday, 08 November 2017 13:28

eautils sort by name

This help article explains how to use eaUtils Sort By Name feature on the elements contained in a package or element.

This feature runs on a package or an element selected from the Project Browser (it can also be run on a package tree, click here for more information).

Enterprise Architect already sorts elements by their name, however this feature has been implemented so that elements can be sorted by taking into account integer values within a string value. Hence this feature only makes sense when the option "Identify and sort integers within string values" is set (default setting).

To illustrate the purpose, the following list is sorted by EA when running Contents > Reset Sort Order:

  • Class03, Class1, Class10, Class15, Class2, Class3, Class32, Clatss35, Class39, Class5, Class9.

eaUtils Sort By Name will update the list with the following order:

  • Class1, Class2, Class03, Class3, Class5, Class9, Class10, Class15, Class32, Class35, Class39.
Last modified on Wednesday, 08 November 2017 13:41

reload default sorting order

This help article explains how to use eaUtils Apply Default sorting Order feature on the elements that are contained in a package or element.

This feature runs on a package or an element selected from the Project Browser.

Enterprise Architect already lets you reset the elements sorting order with a right click > Contents > Reset Sort Order, however this is only available for a package. Hence this feature makes it possible to run it on a composite element e.g. a use case, class, activity.

The other advantage is to avoid users looking for a way to reset the sorting order when Sparx Enterprise Architect "Reset Sort Order" feature is not known.

Last modified on Wednesday, 08 November 2017 13:55

sort elements by their layout order in the diagram

This help article explains how to use eaUtils sort elements within a package according to their order or position in a selected diagram.

This feature runs from a diagram selected from the Project Browser.

Caution - important! this feature runs on the selected diagram from the Project Browser which may be different from the displayed diagram. Prior to run this feature it is recommanded to right click in the diagram > Find in Project Browser to select the displayed diagram in the browser.

Last modified on Thursday, 09 November 2017 08:42

package tree sorting feature in eautils enterprise architect addin

This help article describes the use of eaUtils sorting features on a package tree to sort elements contained in each selected package by alias, stereotype, tagged value, or name (note: the package tree sorting feature was introduced in version 1.11).

This feature runs from a package selected from the Project Browser. Once launched, it displays the package tree for the selected package, where sub packages must be selected so their elements' order is updated accordingly. If the selected package doesn't contain any sub package, the standard sorting dialog window is displayed.

Last modified on Monday, 13 November 2017 13:01

sort model diagrams in sparx enterprise architect by date

This help article explains how to use eaUtils to sort diagrams within a package or an element according to their modified or created date/time. This feature has been added in version 1.12.

This feature runs on a package or an element selected from the Project Browser.

 

Last modified on Thursday, 09 November 2017 08:59