Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

TypeInfoProperties Package

The TypeInfoProperties Package provides an interface to the properties of an object from the perspective of the technology rather than the Enterprise Architect database, allowing read and write access to those properties. It effectively shows the properties contained in the technology-specific and custom categories of the Properties window for the object (and omits the Enterprise Architect specific properties such as the General and Project properties). The interface hides the origin of the properties - whether they are from the base object directly, a Tagged Value, or are MOF properties.

You can see this interface in action in the EA.Example model ('Start > Help > Help > Open the Example Model'). When you open this model:

  1. Select the 'Specialize > Manage Addin' ribbon option.
  2. Select the checkbox against 'Type Info' and click on the OK button. An icon for 'Type Info' displays on the right of the Add-Ins panel.
  3. Click on the drop-down arrow and select the 'Show Type Info' option. The Add-Ins window displays, showing the type information (properties) for the currently-selected object.
  4. If you also want to display custom properties in the Add-Ins window, click on the 'Type-Info' icon again and select the 'Include Custom Properties option'. The window resembles this illustration, which is for a UML Component element.
  5. Browse the EA.Example model, clicking on different types of object. You will see a different list of properties for, say, an Action than for a Class. Then you can both read and write to those properties. Also compare the list with the Properties window for the same objects.