1 19 20 package org.netbeans.modules.j2ee.ddloaders.multiview; 21 22 import org.netbeans.modules.j2ee.dd.api.ejb.EjbJar; 23 import org.netbeans.modules.xml.multiview.ui.SectionNodeView; 24 import org.netbeans.modules.xml.multiview.XmlMultiViewDataSynchronizer; 25 26 29 public class CmpRelationshipsView extends SectionNodeView { 30 31 CmpRelationshipsView(EjbJarMultiViewDataObject dataObject) { 32 super(dataObject); 33 EjbSectionNode rootNode = new EjbSectionNode(this, this, Utils.getBundleMessage("LBL_CmpRelationships"), 34 Utils.ICON_BASE_DD_VALID); 35 EjbJar ejbJar = dataObject.getEjbJar(); 36 rootNode.addChild(new CmpRelationShipsNode(this, ejbJar)); 37 setRootNode(rootNode); 38 } 39 40 public XmlMultiViewDataSynchronizer getModelSynchronizer() { 41 return ((EjbJarMultiViewDataObject) getDataObject()).getModelSynchronizer(); 42 } 43 } 44 | Popular Tags |