public void actionPerformed(ActionEvent e) {
   final String S_ProcName = "actionPerformed";
   ICFAccSchemaObj schemaObj = swingSchema.getSchema();
   ICFAccMajorVersionObj obj =
       (ICFAccMajorVersionObj) schemaObj.getMajorVersionTableObj().newInstance();
   JInternalFrame frame = swingSchema.getMajorVersionFactory().newViewEditJInternalFrame(obj);
   frame.addInternalFrameListener(getViewEditInternalFrameListener());
   ICFAccMajorVersionEditObj edit = (ICFAccMajorVersionEditObj) (obj.beginEdit());
   if (edit == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "edit");
   }
   ICFSecurityTenantObj secTenant = schemaObj.getSecTenant();
   edit.setRequiredOwnerTenant(secTenant);
   ICFAccRealProjectObj container = (ICFAccRealProjectObj) (getSwingContainer());
   if (container == null) {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(getClass(), S_ProcName, 0, "SwingContainer");
   }
   edit.setRequiredContainerParent(container);
   ICFAccSwingMajorVersionJPanelCommon jpanelCommon =
       (ICFAccSwingMajorVersionJPanelCommon) 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 JPanel getTabViewComponentsMinorVersionListJPanel() {
   if (tabViewComponentsMinorVersionListJPanel == null) {
     Collection<ICFInternetMinorVersionObj> dataCollection;
     ICFAccMajorVersionObj focus = (ICFAccMajorVersionObj) getSwingFocusAsMajorVersion();
     if (focus != null) {
       dataCollection = focus.getOptionalComponentsMinorVersion(swingIsInitializing);
     } else {
       dataCollection = null;
     }
     ICFInternetMajorVersionObj swingContainer;
     if ((focus != null) && (focus instanceof ICFInternetMajorVersionObj)) {
       swingContainer = (ICFInternetMajorVersionObj) focus;
     } else {
       swingContainer = null;
     }
     tabViewComponentsMinorVersionListJPanel =
         swingSchema
             .getMinorVersionFactory()
             .newListJPanel(
                 null,
                 swingContainer,
                 dataCollection,
                 new RefreshComponentsMinorVersionList(),
                 false);
   }
   return (tabViewComponentsMinorVersionListJPanel);
 }
 public void refreshMe() {
   Component cont = getParent();
   while ((cont != null) && (!(cont instanceof JInternalFrame))) {
     cont = cont.getParent();
   }
   if (cont != null) {
     if (!((JInternalFrame) cont).isClosed()) {
       Collection<ICFInternetMinorVersionObj> dataCollection;
       ICFAccMajorVersionObj focus = (ICFAccMajorVersionObj) getSwingFocusAsMajorVersion();
       if (focus != null) {
         dataCollection = focus.getOptionalComponentsMinorVersion(swingIsInitializing);
       } else {
         dataCollection = null;
       }
       JPanel panel = getTabViewComponentsMinorVersionListJPanel();
       ICFAccSwingMinorVersionJPanelList jpList = (ICFAccSwingMinorVersionJPanelList) panel;
       jpList.setSwingDataCollection(dataCollection);
     }
   }
 }