Creating and modifying elements using the customizer
You can create elements for classes from the class's contextual menu in the Object Browser or Explorer.
Creating elements
To create a new element:
- In the Explorer or Object Browser, select the class (or interface) in which you want to create the element.
- Choose New from the contextual menu.
- In the expanded submenu, choose the element you want to create.
If you select New | Initializer, a new initializer is immediately added to your code.
If you select New | and then Variable, Constructor, Method, Inner Class, or Inner Interface, a customizer dialog box will appear. In the customizer, depending on the type of element you are creating, you can set member accessibility and other modifiers, method name and return type, class name and super class, method parameters and exceptions, and interfaces.
![]()
Modifying classes and elements
You can modify classes and their members with the same type of customizer.
To customize an element:
- In the Explorer or Object Browser, select the class or member that you would like to change.
- Choose Customize from the contextual menu (or press the Customize icon, which is the last button on the toolbar in the Properties window).
The Customizer Dialog will appear, enabling you, depending on the type of element you are creating, to set member accessibility and other modifiers, method name and return type, class name and super class, method parameters and exceptions, and interfaces.
Contents | Prev | Next | Index |