public void internalFrameClosed(InternalFrameEvent e) { Component cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { if (!((JInternalFrame) cont).isClosed()) { refreshMe(); } } }
public void refreshMe() { Component cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { if (!((JInternalFrame) cont).isClosed()) { Collection<ICFBamClearSubDep1Obj> dataCollection; ICFBamClearTopDepObj focus = (ICFBamClearTopDepObj) getSwingFocusAsClearTopDep(); if (focus != null) { dataCollection = focus.getOptionalComponentsClearDep(swingIsInitializing); } else { dataCollection = null; } JPanel panel = getTabViewComponentsClearDepListJPanel(); ICFBamSwingClearSubDep1JPanelList jpList = (ICFBamSwingClearSubDep1JPanelList) panel; jpList.setSwingDataCollection(dataCollection); } } }
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); } } }
public void choseTenant(ICFSecurityTenantObj value) { Component cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { if (!((JInternalFrame) cont).isClosed()) { if (swingReferenceOwnerTenant != null) { ICFInternetDomainBaseObj cur = getSwingFocusAsDomainBase(); if (cur != null) { ICFInternetDomainBaseEditObj editObj = (ICFBamDomainBaseEditObj) cur.getEdit(); if (null != editObj) { CFJPanel.PanelMode curMode = getPanelMode(); if ((curMode == CFJPanel.PanelMode.Add) || (curMode == CFJPanel.PanelMode.Edit)) { swingReferenceOwnerTenant.setReferencedObject(value); editObj.setRequiredOwnerTenant(value); } } } } } } }
public void choseSecUser(ICFSecuritySecUserObj value) { Component cont = getParent(); while ((cont != null) && (!(cont instanceof JInternalFrame))) { cont = cont.getParent(); } if (cont != null) { if (!((JInternalFrame) cont).isClosed()) { if (swingReferenceContainerSecUser != null) { ICFSecuritySecSessionObj cur = getSwingFocusAsSecSession(); if (cur != null) { ICFSecuritySecSessionEditObj editObj = (ICFDbTestSecSessionEditObj) cur.getEdit(); if (null != editObj) { CFJPanel.PanelMode curMode = getPanelMode(); if ((curMode == CFJPanel.PanelMode.Add) || (curMode == CFJPanel.PanelMode.Edit)) { swingReferenceContainerSecUser.setReferencedObject(value); editObj.setRequiredContainerSecUser(value); } } } } } } }