The Method node (

) contains a user-defined method. To add a new
Method node, right-click the
Methods node and choose
New Method or click the
New Method button on the ribbon toolbar. In the
New Method dialog box that opens, type a label for the method in the
Name field. To edit the method, double-click the
Method node, or right-click it and choose
Edit (

). An editor window then opens where you can edit the code for the method. Depending on the
View all code preference setting, you see just the method declarations or the full class. In the editor you can highlight part of the code and right-click to cut, copy, paste, and delete it. You can also use the standard keyboard shortcuts such as Ctrl+C to copy, Ctrl+A to select all code in the editor window, and the Delete button. The code extends a Java class called
ApplicationMethod that only requires one method with the following signature:
See The Method Node for information about the inputs and outputs that you can add in the
Settings window.