Search VisualAge for Java Information Go to Information Home Page Go to VisualAge for Java WWW Site

Code Generation (VCE) options page

Option Description
Event Handling Enable one of the following options for generating exception handler code in the VCE:
  • Do not use any inner classes:  Generates event handler methods directly into the class.
  • Use one inner class for all events: Generates one inner class with methods defined to handle all events used in the outer class
  • Use an inner class for each event: Generates an anonymous inner class for each event set used in the outer class.
Generate meta data method Enable this checkbox to allow a method named getBuilderData to be generated by the Visual Composition Editor. The getBuilderData method will contain binary data inside a Java comment representing the meta data that is required by the Visual Composition Editor. This option only needs to be enabled if you plan to export your visually composed part as Java source files and later want to import these source files back into VisualAge for Java. Enabling this option slows down saving visually composed parts and should only be enabled if importing and exporting of Java source files is required.

If you want to restore default settings, click Defaults.   If you want to apply changes without exiting the window, click Apply.

ngrelc.gif (533 bytes)
Code generated from visually composed beans