Edit Property Name/Type Panel

Summary

The Edit Property Name/Type panel allows you to rename one or more project properties, change the property type and the internal name.

Opening the Edit Property Name/Type Panel

To open the Edit Property Name/Type panel, you can:

Using the Edit Property Name/Type Panel

To rename a property, choose the property from the list, enter the new name in the the Visible name text box, then click Save Changes. You can edit more than one name before saving the changes.

If you want to change the internal name as well, select Change internal name. The internal name is given in theVisible name text box. You should be careful when editing internal names, particularly if changing the data type, as a conversion is done on the property values to the new data type.

Edit Property Name/Type Panel Features

Property selection tools

This property selector lists the properties in the project that you can rename. When you select a property, the Visible name and Internal name text boxes are filled in.

Visible name text box

This text box displays the visible name of the property, which is the name shown in the heading row of the Project Table. This name is usually derived from the internal name by stripping off the type and family fields and replacing underscores with spaces. Some properties have names that are not so derived, by default. You can edit the text to change it to the desired name. The name must be unique within the project.

Internal name text box

This text box displays the internal name of the property, as stored in structure files and used in the code. The internal name has the format type_author_label. The type is a single character, which identifies the variable as an integer (i), a real number (r), a string (s), or a Boolean (b). The author identifies the program that generated the property, or more generally the source of the property, and is related to the default property family. The label gives information about the property itself. By default, this text box is noneditable. If you want to edit the name, select Edit internal data. You can then edit the text. The new name must be unique within the project.

Edit internal data option

Edit the internal name of the property. By default this option is not selected, as editing the internal name can affects the property values. If you change the type, for example, the data is converted to the new data type. If the data value cannot be converted, the value is deleted.

Save Changes button

Save the changes made to the properties. The changes are stored in the project.

Related Topics


Legal Notice

File: pt_property_menu/edit_property_name_type.html
Last updated: 20 Jun 2014