Code Generator Wizard: Code Generator

The New Code Generator wizard creates a new Code Generator.

You open the New Code Generator wizard by right-clicking a module project, choosing New > Other and selecting Code Generator from the Module Development category.

Element Description

Class Name

Specifies the name of the code generator class that will be generated.

MIME Type

Specifies a unique Multipurpose Internet Mail Extension (MIME) type that enables the code generator to be registered in the layer.xml file.

Generate CodeGeneratorContextProvider

Specifies an additional class, which can provide your code generator with additional objects in its lookup. This class will also be registered in the layer.xml file for you.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.