1 19 20 package org.netbeans.modules.j2ee.ddloaders.multiview; 21 22 import org.netbeans.modules.j2ee.dd.api.ejb.Ejb; 23 import org.netbeans.modules.xml.multiview.ui.SectionNodeInnerPanel; 24 import org.netbeans.modules.xml.multiview.ui.SectionNodeView; 25 26 29 public class EnvironmentEntriesNode extends EjbSectionNode { 30 31 public EnvironmentEntriesNode(SectionNodeView sectionNodeView, Ejb ejb) { 32 super(sectionNodeView, ejb, Utils.getBundleMessage("LBL_EnvironmentEntries"), Utils.ICON_BASE_MISC_NODE); 33 } 34 35 protected SectionNodeInnerPanel createNodeInnerPanel() { 36 SectionNodeView sectionNodeView = getSectionNodeView(); 37 return new InnerTablePanel(sectionNodeView, new EnvironmentEntriesTableModel( 38 new EjbHelper((EjbJarMultiViewDataObject) sectionNodeView.getDataObject(),(Ejb) key))); 39 } 40 } 41 | Popular Tags |