private EntityOverviewPanel getEntityGeneralPanel() { Node[] nnChild = Utils.getChildrenNodes(Utils.getEntityNode(ddObj)); for (int k = 0; k < nnChild.length; k++) { if (nnChild[k] instanceof EntityOverviewNode) { SectionNodePanel overviewPanel = ((EntityOverviewNode) nnChild[k]).getSectionNodePanel(); overviewPanel.open(); EntityOverviewPanel entityPanel = (EntityOverviewPanel) overviewPanel.getInnerPanel(); return entityPanel; } } return null; }
private EjbImplementationAndInterfacesPanel getClassAndInterfacePanel() { assertNotNull(ddObj); Node[] nnChild = Utils.getChildrenNodes(Utils.getEntityNode(ddObj)); for (int k = 0; k < nnChild.length; k++) { if (nnChild[k] instanceof EjbImplementationAndInterfacesNode) { SectionNodePanel overviewPanel = ((EjbImplementationAndInterfacesNode) nnChild[k]).getSectionNodePanel(); overviewPanel.open(); return (EjbImplementationAndInterfacesPanel) overviewPanel.getInnerPanel(); } } return null; }