1 19 20 package org.netbeans.modules.j2ee.ddloaders.multiview; 21 22 import org.netbeans.modules.j2ee.dd.api.ejb.Entity; 23 import org.netbeans.modules.xml.multiview.ui.SectionNodeInnerPanel; 24 import org.netbeans.modules.xml.multiview.ui.SectionNodeView; 25 26 29 public class EntityOverviewNode extends EjbSectionNode { 30 31 private EntityHelper entityHelper; 32 33 public EntityOverviewNode(SectionNodeView sectionNodeView, Entity entity, EntityHelper entityHelper) { 34 super(sectionNodeView, entity, Utils.getBundleMessage("LBL_Overview"), Utils.ICON_BASE_MISC_NODE); 35 this.entityHelper = entityHelper; 36 } 37 38 protected SectionNodeInnerPanel createNodeInnerPanel() { 39 SectionNodeView sectionNodeView = getSectionNodeView(); 40 return new EntityOverviewPanel(sectionNodeView, (Entity) key, entityHelper); 41 } 42 } 43 | Popular Tags |