1 19 20 package org.netbeans.modules.web.struts; 21 22 import org.openide.loaders.DataNode; 23 import org.openide.nodes.Children; 24 25 29 30 public class StrutsConfigNode extends DataNode { 31 32 public static final String ICON_BASE = "org/netbeans/modules/web/struts/resources/StrutsConfigIcon.png"; 33 34 35 public StrutsConfigNode (final StrutsConfigDataObject dataObject) { 36 super(dataObject,Children.LEAF); 37 setIconBaseWithExtension(ICON_BASE); 38 } 39 40 public boolean canDestroy() { 42 return true; 43 } 44 } 45 | Popular Tags |