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 ResourceReferencesNode extends EjbSectionNode { 30 31 public ResourceReferencesNode(SectionNodeView sectionNodeView, Ejb ejb) { 32 super(sectionNodeView, ejb, Utils.getBundleMessage("LBL_ResourceReferences"), Utils.ICON_BASE_MISC_NODE); 33 } 34 35 protected SectionNodeInnerPanel createNodeInnerPanel() { 36 SectionNodeView sectionNodeView = getSectionNodeView(); 37 final InnerTablePanel innerTablePanel = new InnerTablePanel(sectionNodeView, 38 new ResourceReferencesTableModel(sectionNodeView.getModelSynchronizer(), (Ejb) key)); 39 innerTablePanel.getRemoveButton().setVisible(true); 40 return innerTablePanel; 41 } 42 } 43 | Popular Tags |