1 19 20 package org.netbeans.modules.scripting.php.webproject; 21 22 import org.openide.loaders.DataNode; 23 import org.openide.nodes.Children; 24 import org.openide.util.Lookup; 25 26 public class PhpSourceDataNode extends DataNode { 27 28 private static final String IMAGE_ICON_BASE = "org/netbeans/modules/scripting/php/webproject/resources/php16.png"; 29 30 public PhpSourceDataNode(PhpSourceDataObject obj) { 31 super(obj, Children.LEAF); 32 setIconBaseWithExtension(IMAGE_ICON_BASE); 33 } 34 PhpSourceDataNode(PhpSourceDataObject obj, Lookup lookup) { 35 super(obj, Children.LEAF, lookup); 36 setIconBaseWithExtension(IMAGE_ICON_BASE); 37 } 38 39 51 } 52 | Popular Tags |