class NewFunctionAL implements ActionListener {
public void actionPerformed(ActionEvent e) {
try {
PString pFnName = new PString("Name");
PFunction pFunction = new PFunction("New Function", 1, true, null);
ConfigResult props = ConfigManager.configure(new Property[] { pFnName,
pFunction }, "Register fuction", FunctionDialog.this,
ConfigMode.TEMPLATE_NOT_CHOOSABLE);