Class Builder Options Dialog Box

   

Allows you to define the options for the Class Builder.

With the Class Builder Options dialog box you can:

Options

Filter Listbox Entries

When this option is selected, all list boxes in the Class Builder filter out items that have already been selected. For example, if a method is selected to be overridden in the Extends tab of the Class Builder, the method name is removed from the list of available methods to override. This option is selected by default.

Include Call To Superclass In Overrides

When this option is selected, the Class Builder provides a call to the superclass method when creating an overridden method. Select this option if the superclass method performs actions that you wish to occur in addition to your overridden method's code. This option is selected by default.

Include TODO Comments In New Methods

When this option is selected, the Class Builder generates TODO comments in methods it creates. TODO comments allow you to view tasks that need to be completed in your method's code. The TODO tasks can be viewed in the Task List window. This option is selected by default.

Add Interface Methods In Abstract Classes

When this option is selected, the Class Builder automatically adds interface methods for classes declared as abstract. An abstract class is a class that is intended to be used as a superclass of another class and cannot be instantiated. Because an abstract class does not require that all interface methods be implemented, you may want to have this option cleared to prevent all interface methods from automatically being added to your abstract class. This option is selected by default.

Remove Interface Methods When Removing An Interface

When this option is selected, the Class Builder removes interface method code that is added to a class when an interface is removed from the list of implemented interfaces for the class. With this option not selected, you can leave method code that the Class Builder added to your class even though the interface is no longer implemented by the class. This option is not selected by default.

Automatically Update ClassInfo When Superclass Changes

When this option is selected, the Class Builder automatically updates the nested ClassInfo class added to your class when the superclass is changed to another class. For example, if you create a class in the Class Builder that extends the ListBox class, the Class Builder adds a nested ClassInfo class into your class that is based on the ListBox's ClassInfo class. If later on you change your class to extend the ComboBox class, when this option is selected, the Class Builder will automatically change your nested ClassInfo class to be based on the ComboBox's ClassInfo class. This option is selected by default.