Chapter 4 Managing Profiles


Extended attribute properties

When you create an extended attribute you can define the following general properties:

Property Description
Name Name of the extended attribute. This name must be unique in the selected metaclass, stereotype or criterion. Make sure you use a meaningful name.
Comment Additional information about the extended attribute.
Data type Specifies the form of the data to be held by the extended attribute, such as String, Font, Boolean, or others. See Data type.
Computed Extended attribute, which is calculated from other values using Get and/or Set VBScript methods. See Computed.
Default value Specifies a default value for the extended attribute type. This list is unavailable when the extended attribute is computed. You can do any of the following to specify the value:

  • Type the value directly in the list.
  • Click the Ellipsis button to obtain a range of possible default values if you have selected a predefined data type in the Data Type list. For example, if the data type is set to Color, the Ellipsis button opens a palette window.
  • Select a value from the list if you have selected a user-defined data type in the Data Type list.
Template Specifies whether the extended attribute is considered as a GTL template or a piece of text during generation. This checkbox is unavailable when the extended attribute is computed. See Template.
List of values Specifies a list of possible values for the extended attribute. See List of values.
Complete When selected, this checkbox specifies that all possible values for the extended attribute are defined in the list of values. Thus no other values can be entered.
Edit method Specifies an edit method to associate a user-defined action with the tool or the Ellipsis button that displays to the right of the extended attribute in the object property sheet. When the list of values is "complete", this field is unavailable. See Edit method.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.