You can edit JAXFront functions using the Functions tab in the JAXFront Preferences. The following editing functions for lists are available: Add, Copy, Delete and Edit.
Functions for the Formula Editor
The implementation of a new function occurs in two stages:
- Implementation of the new function as Java class in the package com.jaxfront.jep. For more details, see the JAXFront Developer manual. .
- Adding and describing a new function in the JAXFront preferences. See the following figure.
Editing a function
Fieldname | Description |
---|---|
Name | Defines the function name. |
Insertion | Defines which text is inserted in the Formula Editor when CTRL+Space is pressed on the keyboard. |
Caret position | Defines the position where the function parameter values can be entered. This is important for the navigation aid of the formula editor (CTRL+Space). |
Description | In this field, the function description is inserted. This description then appears in the Formula Editor. It is defined as an HTML page. |
Implementation class | Class which implement this functions (must implement the class org.nfunk.jep.function.PostfixMathCommandI). |
Is node function? | Indicates if this function is a node (xpath) function. |
Hide | Defines if functions should be hidden. |
Category | Category of this function (each category is displayed in a tab). |