Справочник Пользователя для ITT Rule IDL Version 7.0
Chapter 4: Property Management
73
iTool Developer’s Guide
Property Data Types
User Defined Property Types
The User Defined property type lets you create a custom interface that allow users of
your iTool to select data of types other than the predefined iTool property types.
Creating a user defined property type entails the following:
your iTool to select data of types other than the predefined iTool property types.
Creating a user defined property type entails the following:
•
Creating an EditUserDefProperty method for the iTool component (usually a
visualization or operation) that uses the user defined property. See
visualization or operation) that uses the user defined property. See
“IDLitComponent::EditUserDefProperty”
(IDL Reference Guide) for details.
•
Creating user interface code to allow users to select a value. In the initial
release of the iTool system, this means writing an IDL widget interface, but in
future releases other users interfaces may be available.
release of the iTool system, this means writing an IDL widget interface, but in
future releases other users interfaces may be available.
•
Creating a user interface service to display the interface. See
Chapter 13,
“Creating a User Interface Service”
(iTool Developer’s Guide) for details.
8
THICKNESS
Thickness properties contain an integer value between 1
and 10, corresponding to the thickness (in points) of the
line.
and 10, corresponding to the thickness (in points) of the
line.
9
ENUMLIST
Enumerated List properties contain an array of string
values defined when the property is registered. The
GetProperty method returns the zero-based index of the
selected item.
values defined when the property is registered. The
GetProperty method returns the zero-based index of the
selected item.
Type
Code
Type
Description
Table 4-1: iTools Property Data Types (Continued)