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.Port; 34 import org.openide.nodes.Children; 35 import org.openide.util.HelpCtx; 36 37 41 public class PortNode extends SectionContainerNode{ 42 private Port port; 43 44 public PortNode(SectionView view, 45 Port port) { 46 super(Children.LEAF); 47 this.port = port; 48 setDisplayName(this.port.getName()); 49 } 50 51 public String getPanelId() { 52 return "port"; } 54 55 public HelpCtx getHelpCtx() { 56 return new HelpCtx(WSCustomizationView.ID_PORT); 57 } 58 59 } 60 | Popular Tags |