public void view(ICFLibAnyObj value) {
   final String S_ProcName = "actionPerformed";
   ICFAsteriskExtensionsConfObj focus = getJavaFXFocusAsExtensionsConf();
   if (focus != null) {
     ICFSecurityHostNodeObj referencedObj =
         (ICFSecurityHostNodeObj) javafxReferenceParentHostNode.getReferencedObject();
     CFBorderPane form = null;
     if (referencedObj != null) {
       String classCode = referencedObj.getClassCode();
       if ("HSND".equals(classCode)) {
         form =
             javafxSchema
                 .getHostNodeFactory()
                 .newAddForm(cfFormManager, referencedObj, null, true);
         ICFSecurityJavaFXHostNodePaneCommon spec = (ICFSecurityJavaFXHostNodePaneCommon) form;
         spec.setJavaFXFocus(referencedObj);
         spec.setPaneMode(CFPane.PaneMode.View);
       } else {
         throw CFLib.getDefaultExceptionFactory()
             .newUnsupportedClassException(
                 getClass(), S_ProcName, "javaFXFocus", focus, "ICFAsteriskHostNodeObj");
       }
       cfFormManager.pushForm(form);
     }
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFSecuritySchemaObj schemaObj = swingSchema.getSchema();
   if (schemaObj == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj");
   }
   ICFSecurityHostNodeObj selectedInstance = getSwingFocusAsHostNode();
   if (selectedInstance != null) {
     String classCode = selectedInstance.getClassCode();
     if ("HSND".equals(classCode)) {
       JInternalFrame frame =
           swingSchema.getHostNodeFactory().newViewEditJInternalFrame(selectedInstance);
       frame.addInternalFrameListener(getViewEditInternalFrameListener());
       ((ICFSecuritySwingHostNodeJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
       getDesktopPane().add(frame);
       frame.setVisible(true);
       frame.show();
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(),
               S_ProcName,
               "selectedInstance",
               selectedInstance,
               "ICFSecurityHostNodeObj");
     }
   }
 }