|
|
|
|
|
Use this window to retrieve a part and drop it on the free-form surface. You must supply the fully qualified class name to add the part from this window.
Use the Add Part window under the following circumstances:
| Note: | You cannot add a part inside itself and you cannot embed a composite part inside itself. |
Fields
Push buttons
To add the part or variable to the free-form surface and exit the Add Part window, select Add.
To add the part or variable to the free-form surface and keep the Add Part window active, select Apply.
If you are unsure of the class name, use List....
About Adding Parts in
the Composition Editor
Dropping a Part that
Is Not on the Palette
Dropping Parts in the
Composition Editor
Add Part
You can add a part as a part or as a variable. When you add a part as a part, the default constructor for the class is used when the application runs. This means that a real object is created, not a variable that points to a real object defined elsewhere.
From Part Type, select the type of part you want to add.
| Select... | If you want... |
|---|---|
| Part | To add a visual part or a part |
| Variable | To add a class to represent a part, using the variable part |
About Adding Parts in
the Composition Editor
Dropping a Part that
Is Not on the Palette
Part-New Window
Add Part
In the Part class field, enter the fully qualified name of the C++ class. If you created the part, you assigned Part class. You can use the List button to locate the name.
About Adding Parts in
the Composition Editor
Dropping a Part that
Is Not on the Palette
Part-New Window
Add Part
Enter a name in the Name field for the part you want to drop. Part names may include letters and numbers, but must begin with a letter and include no spaces. This text appears under the part icon on the free-form surface. If you leave this field blank, VisualAge assigns a Name for you.
About Adding Parts in
the Composition Editor
Dropping a Part that
Is Not on the Palette
Part-New Window
Add Part
