public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   ICFDbTestTextColObj obj = (ICFDbTestTextColObj) schemaObj.getTextColTableObj().newInstance();
   JInternalFrame frame = swingSchema.getTextColFactory().newViewEditJInternalFrame(obj);
   frame.addInternalFrameListener(getViewEditInternalFrameListener());
   ICFDbTestTextColEditObj edit = (ICFDbTestTextColEditObj) (obj.beginEdit());
   if (edit == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "edit");
   }
   ICFSecurityTenantObj secTenant = schemaObj.getSecTenant();
   edit.setRequiredOwnerTenant(secTenant);
   ICFDbTestTableObj container = (ICFDbTestTableObj) (getSwingContainer());
   if (container == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "SwingContainer");
   }
   edit.setRequiredContainerTable(container);
   ICFDbTestSwingTextColJPanelCommon jpanelCommon = (ICFDbTestSwingTextColJPanelCommon) frame;
   jpanelCommon.setPanelMode(CFJPanel.PanelMode.Add);
   Container cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame myInternalFrame = (JInternalFrame) cont;
     myInternalFrame.getDesktopPane().add(frame);
     frame.setVisible(true);
     frame.show();
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   Container cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame frame = (JInternalFrame) cont;
     if (frame instanceof ICFDbTestSwingUInt64ColJPanelCommon) {
       ICFDbTestSwingUInt64ColJPanelCommon jpanelCommon =
           (ICFDbTestSwingUInt64ColJPanelCommon) frame;
       jpanelCommon.setPanelMode(CFJPanel.PanelMode.Unknown);
       ICFDbTestUInt64ColEditObj editObj =
           (ICFDbTestUInt64ColEditObj) jpanelCommon.getSwingFocusAsUInt64Col().getEdit();
       if (editObj != null) {
         editObj.endEdit();
       }
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(), S_ProcName, "frame", frame, "ICFDbTestSwingUInt64ColJPanelCommon");
     }
     try {
       frame.setClosed(true);
     } catch (Exception x) {
     }
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFSecuritySecSessionObj focus = getSwingFocusAsSecSession();
   if (focus != null) {
     ICFSecuritySecSessionEditObj editObj = (ICFDbTestSecSessionEditObj) focus.getEdit();
     if (editObj != null) {
       focus = editObj;
     }
     JInternalFrame frame = null;
     Container cont;
     JDesktopPane desktop;
     ICFDbTestSecUserObj referencedObj =
         (ICFDbTestSecUserObj) focus.getRequiredContainerSecUser(swingIsInitializing);
     if (referencedObj != null) {
       String classCode = referencedObj.getClassCode();
       if ("SUSR".equals(classCode)) {
         frame = swingSchema.getSecUserFactory().newViewEditJInternalFrame(referencedObj);
         cont = getParent();
         while ((cont != null) && (!(cont instanceof JInternalFrame))) {
           cont = cont.getParent();
         }
         if (cont != null) {
           JInternalFrame myInternalFrame = (JInternalFrame) cont;
           myInternalFrame.getDesktopPane().add(frame);
           frame.setVisible(true);
           frame.show();
         }
       } else {
         throw CFLib.getDefaultExceptionFactory()
             .newUnsupportedClassException(
                 getClass(), S_ProcName, "swingFocus", focus, "ICFDbTestSecUserObj");
       }
     }
   }
 }
 public void mousePressed(MouseEvent e) {
   if (e.getButton() != MouseEvent.BUTTON1) {
     return;
   }
   if (e.getClickCount() != 2) {
     return;
   }
   JTable table = (JTable) e.getSource();
   Point p = e.getPoint();
   int row = table.rowAtPoint(p);
   if (row < 0) {
     return;
   }
   PickerTableModel model = getDataModel();
   ICFDbTestFloatColObj o = (ICFDbTestFloatColObj) model.getValueAt(row, COLID_ROW_HEADER);
   invokeWhenChosen.choseFloatCol(o);
   try {
     Container cont = getParent();
     while ((cont != null) && (!(cont instanceof JInternalFrame))) {
       cont = cont.getParent();
     }
     if (cont != null) {
       ((JInternalFrame) cont).setClosed(true);
     }
   } catch (Exception x) {
   }
 }
 public void mousePressed(MouseEvent e) {
   if (e.getButton() != MouseEvent.BUTTON1) {
     return;
   }
   if (e.getClickCount() != 2) {
     return;
   }
   JTable table = (JTable) e.getSource();
   Point p = e.getPoint();
   int row = table.rowAtPoint(p);
   if (row < 0) {
     return;
   }
   ListTableModel model = getDataModel();
   ICFDbTestTopDomainObj o = (ICFDbTestTopDomainObj) model.getValueAt(row, COLID_ROW_HEADER);
   if (o == null) {
     return;
   }
   JInternalFrame frame = swingSchema.getTopDomainFactory().newViewEditJInternalFrame(o);
   frame.addInternalFrameListener(getViewEditInternalFrameListener());
   ((ICFDbTestSwingTopDomainJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
   if (frame == null) {
     return;
   }
   Container cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame myInternalFrame = (JInternalFrame) cont;
     myInternalFrame.getDesktopPane().add(frame);
     frame.setVisible(true);
     frame.show();
   }
 }
 public void actionPerformed(ActionEvent e) {
   try {
     Container cont = getParent();
     while ((cont != null) && (!(cont instanceof JInternalFrame))) {
       cont = cont.getParent();
     }
     if (cont != null) {
       ((JInternalFrame) cont).setClosed(true);
     }
   } catch (Exception x) {
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   if (schemaObj == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj");
   }
   invokeWhenChosen.choseFloatCol(null);
   try {
     Container cont = getParent();
     while ((cont != null) && (!(cont instanceof JInternalFrame))) {
       cont = cont.getParent();
     }
     if (cont != null) {
       ((JInternalFrame) cont).setClosed(true);
     }
   } catch (Exception x) {
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   Container cont;
   JDesktopPane desktop;
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   ICFSecurityTSecGroupObj focus = getSwingFocusAsTSecGroup();
   ICFSecurityTSecGroupEditObj editObj = (ICFSecurityTSecGroupEditObj) focus.getEdit();
   if (editObj != null) {
     focus = editObj;
   }
   ICFDbTestTenantObj referencedObj =
       (ICFDbTestTenantObj) focus.getRequiredContainerTenant(swingIsInitializing);
   java.util.List<ICFSecurityTenantObj> listOfTenant = null;
   CFSecurityAuthorization auth = schemaObj.getAuthorization();
   long containingClusterId = auth.getSecClusterId();
   listOfTenant = schemaObj.getTenantTableObj().readTenantByClusterIdx(containingClusterId);
   if (listOfTenant == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "listOfTenant");
   }
   Collection<ICFSecurityTenantObj> cltn = listOfTenant;
   JInternalFrame frame =
       swingSchema
           .getTenantFactory()
           .newPickerJInternalFrame(
               referencedObj, null, cltn, new CallbackTSecGroupTenantChosen());
   ((ICFDbTestSwingTenantJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
   cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame myInternalFrame = (JInternalFrame) cont;
     myInternalFrame.getDesktopPane().add(frame);
     frame.setVisible(true);
     frame.show();
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   Container cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame frame = (JInternalFrame) cont;
     if (frame instanceof ICFDbTestSwingUuidTypeJPanelCommon) {
       ICFDbTestSwingUuidTypeJPanelCommon jpanelCommon =
           (ICFDbTestSwingUuidTypeJPanelCommon) frame;
       jpanelCommon.setPanelMode(CFJPanel.PanelMode.Delete);
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(), S_ProcName, "frame", frame, "ICFDbTestSwingUuidTypeJPanelCommon");
     }
     try {
       frame.setClosed(true);
     } catch (Exception x) {
     }
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   Container cont;
   JDesktopPane desktop;
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   ICFSecuritySecSessionObj focus = getSwingFocusAsSecSession();
   ICFSecuritySecSessionEditObj editObj = (ICFSecuritySecSessionEditObj) focus.getEdit();
   if (editObj != null) {
     focus = editObj;
   }
   ICFDbTestSecUserObj referencedObj =
       (ICFDbTestSecUserObj) focus.getRequiredParentSecProxy(swingIsInitializing);
   java.util.List<ICFSecuritySecUserObj> listOfSecUser = null;
   listOfSecUser = schemaObj.getSecUserTableObj().readAllSecUser();
   if (listOfSecUser == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "listOfSecUser");
   }
   Collection<ICFSecuritySecUserObj> cltn = listOfSecUser;
   JInternalFrame frame =
       swingSchema
           .getSecUserFactory()
           .newPickerJInternalFrame(
               referencedObj, null, cltn, new CallbackSecSessionProxyChosen());
   ((ICFDbTestSwingSecUserJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
   cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     JInternalFrame myInternalFrame = (JInternalFrame) cont;
     myInternalFrame.getDesktopPane().add(frame);
     frame.setVisible(true);
     frame.show();
   }
 }
 public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFDbTestSchemaObj schemaObj = swingSchema.getSchema();
   if (schemaObj == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj");
   }
   ICFInternetTopDomainObj selectedInstance = getSwingFocusAsTopDomain();
   if (selectedInstance != null) {
     String classCode = selectedInstance.getClassCode();
     if ("TDOM".equals(classCode)) {
       JInternalFrame frame =
           swingSchema.getTopDomainFactory().newAskDeleteJInternalFrame(selectedInstance);
       ((ICFDbTestSwingTopDomainJPanelCommon) frame).setPanelMode(CFJPanel.PanelMode.View);
       frame.addInternalFrameListener(getViewEditInternalFrameListener());
       Container cont = getParent();
       while ((cont != null) && (!(cont instanceof JInternalFrame))) {
         cont = cont.getParent();
       }
       if (cont != null) {
         JInternalFrame myInternalFrame = (JInternalFrame) cont;
         myInternalFrame.getDesktopPane().add(frame);
         frame.setVisible(true);
         frame.show();
       }
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(),
               S_ProcName,
               "selectedInstance",
               selectedInstance,
               "ICFDbTestTopDomainObj");
     }
   }
 }