# @editor-info:code-gen Annotation

Specifies code generation behavior for a Java control.

## Syntax

@editor-info:code-gen
control-interface="true | false"

## Attributes

control-interface

Optional. true to have WebLogic Workshop generate and maintain the control's interface; false to take responsibility for creating and maintaining this interface. Default is true.

## Remarks

By default, for each JCS file you create to implement a Java control, WebLogic Workshop creates a corresponding control interface. This interface is updated and maintained as you make changes to your Java control. Under nearly all circumstances, this default behavior will satisfy your control building needs. For those rare occasions when you want to create and maintain this file separately, you can set the control-interface to false.

Related Topics

@editor-info:link

Tutorial: Your First Java Control