1 19 20 package org.netbeans.modules.j2ee.ddloaders.multiview; 21 22 import org.netbeans.modules.j2ee.dd.api.ejb.AssemblyDescriptor; 23 import org.netbeans.modules.j2ee.dd.api.ejb.EjbJar; 24 import org.netbeans.modules.xml.multiview.ui.SectionNodeInnerPanel; 25 import org.netbeans.modules.xml.multiview.ui.SectionNodeView; 26 27 32 public class EjbJarSecurityRolesNode extends EjbSectionNode { 33 private EjbJar ejbJar; 34 35 38 EjbJarSecurityRolesNode(SectionNodeView sectionNodeView, EjbJar ejbJar) { 39 super(sectionNodeView, true, ejbJar, Utils.getBundleMessage("LBL_SecurityRoles"), 40 Utils.ICON_BASE_MISC_NODE); 41 42 setExpanded(true); 43 helpProvider = true; 44 45 this.ejbJar = ejbJar; 46 } 47 48 protected SectionNodeInnerPanel createNodeInnerPanel() { 49 EjbJarMultiViewDataObject dataObject = (EjbJarMultiViewDataObject) getSectionNodeView().getDataObject(); 50 SectionNodeView sectionNodeView = getSectionNodeView(); 51 EjbJarSecurityRolesTableModel model = new EjbJarSecurityRolesTableModel(sectionNodeView.getModelSynchronizer(), ejbJar); 52 InnerTablePanel innerTablePanel = new InnerTablePanel(sectionNodeView, model); 53 54 return innerTablePanel; 55 } 56 57 } 58 | Popular Tags |