1 19 20 package org.netbeans.modules.j2ee.sun.ws7.serverresources.loaders; 21 22 import org.openide.loaders.DataNode; 23 import org.openide.nodes.Children; 24 25 29 public class SunWS70ResourceDataNode extends DataNode { 30 31 public SunWS70ResourceDataNode(SunWS70ResourceDataObject obj) { 32 this(obj, Children.LEAF); 33 } 34 35 public SunWS70ResourceDataNode(SunWS70ResourceDataObject obj, Children ch) { 36 super(obj, ch); 37 setIconBaseWithExtension("org/netbeans/modules/j2ee/sun/ws7/resources/ResNodeNodeIcon.gif"); } 39 40 protected SunWS70ResourceDataObject getWS70SunResourceDataObject() { 41 return (SunWS70ResourceDataObject)getDataObject(); 42 } 43 44 45 } 46 | Popular Tags |