PLUGIN FUNCTION Class


The PLUGIN FUNCTION class allows you to execute plug-in repository functions which are loaded when the application starts. The complete list of the plug-in repository functions is available in the Help menu > Plug-ins.
Remember that it is possible to add new functions without modifying the application. If the function used requires a sub-rule, it has to be specified with the CHILD modifier.

Parameter: name of the user function.

Optional modifier: CHILD

Example 1
//Execute DiagramIsempty, that returns "true" or "false"

classCoordinates PLUGIN FUNCTION ClassCoordinates;


Example 2
//UtilSGMLConverter requires a subrule, specified by CHILD. The subrule is expanded, and
//its result is then passed to UtilSGMLConverter, which performs a SGML-compliant conversion.

methodBodyHtml PLUGIN FUNCTION UtilSGMLConverter
CHILD = methodBodyAscii;

methodBodyAscii ATTR MethodBody;