public void choseHostNode(ICFSecurityHostNodeObj value) {
   if (javafxReferenceParentHostNode != null) {
     ICFAsteriskExtensionsConfObj cur = getJavaFXFocusAsExtensionsConf();
     if (cur != null) {
       ICFAsteriskExtensionsConfEditObj editObj =
           (ICFAsteriskExtensionsConfEditObj) cur.getEdit();
       if (null != editObj) {
         CFPane.PaneMode curMode = getPaneMode();
         if ((curMode == CFPane.PaneMode.Add) || (curMode == CFPane.PaneMode.Edit)) {
           javafxReferenceParentHostNode.setReferencedObject(value);
           editObj.setRequiredParentHostNode(value);
         }
       }
     }
   }
 }
  public void postFields() {
    final String S_ProcName = "postFields";
    ICFAsteriskExtensionsConfObj focus = getJavaFXFocusAsExtensionsConf();
    ICFAsteriskExtensionsConfEditObj editObj;
    if (focus != null) {
      editObj = (ICFAsteriskExtensionsConfEditObj) (focus.getEdit());
    } else {
      editObj = null;
    }
    if (editObj == null) {
      throw CFLib.getDefaultExceptionFactory()
          .newUsageException(
              getClass(), S_ProcName, "Pane is unfocused or is not editing the focus object");
    }

    javafxParentHostNodeObj =
        (ICFSecurityHostNodeObj) (javafxReferenceParentHostNode.getReferencedObject());
    editObj.setRequiredParentHostNode(javafxParentHostNodeObj);

    editObj.setRequiredFileFullName(getJavaFXEditorFileFullName().getStringValue());

    editObj.setRequiredFileContents(getJavaFXEditorFileContents().getTextValue());
  }