1 19 20 28 29 package org.netbeans.modules.websvc.customization.multiview; 30 31 import org.netbeans.modules.xml.multiview.ui.SectionContainerNode; 32 import org.netbeans.modules.xml.multiview.ui.SectionView; 33 import org.netbeans.modules.xml.wsdl.model.Service; 34 import org.openide.nodes.Children; 35 import org.openide.util.HelpCtx; 36 37 41 public class ServiceNode extends SectionContainerNode{ 42 private Service service; 43 44 public ServiceNode(SectionView view, Service service) { 45 super(Children.LEAF); 46 this.service = service; 47 setDisplayName(this.service.getName()); 48 } 49 50 public String getPanelId() { 51 return "service"; } 53 54 public HelpCtx getHelpCtx() { 55 return new HelpCtx(WSCustomizationView.ID_SERVICE); 56 } 57 } 58 | Popular Tags |