See information about the latest product version
Configuring a user-defined editor
Configure a user-defined editor to specify the Java™ code that the editor uses and to specify configuration values and notifications used by the code.
Assign a user-defined editor to a pattern parameter; see Defining the user interface.
To configure a user-defined editor for a pattern parameter, select a Java code project and a Java class within that project. The code in the Java class is run when the editor is used by a pattern user. You can create a new code project and Java class if required.
You can use your code project for user-defined editor code and for Java and PHP code to modify pattern instances. For more information about using Java and PHP to modify pattern instances, see Modifying pattern instances by using Java or PHP. By including user-defined editor and pattern instance modification code in the same code project for patterns that use both types of code, you need to distribute fewer projects to pattern users.
You can specify configuration values when you configure your user-defined editor. These values can be used by your user-defined editor code. For example, you can enter a list of configuration values that are used to populate a list in your user-defined editor.
You can select parameters in your user-defined pattern that send change notifications to the user-defined editor. Your editor code can use change notifications to update the value of the parameter to which the user-defined editor is assigned when other pattern parameter values change.
To configure a user-defined editor, complete the following steps:
Next:
Write the Java code for your user-defined editor; see Writing Java code for a user-defined editor.