1 19 package org.netbeans.modules.autoupdate; 20 21 import org.openide.loaders.*; 22 import org.openide.nodes.*; 23 import org.openide.util.NbBundle; 24 25 29 class NbmDataNode extends DataNode { 30 31 public NbmDataNode (NbmDataObject obj) { 32 this (obj, Children.LEAF); 33 } 34 35 public NbmDataNode (NbmDataObject obj, Children ch) { 36 super (obj, ch); 37 setIconBaseWithExtension ("org/netbeans/modules/autoupdate/resources/updateModule.png"); 38 setShortDescription (NbBundle.getMessage (NbmDataNode.class, "HINT_NbmDataNode")); 39 } 40 41 protected NbmDataObject getNbmDataObject () { 42 return (NbmDataObject) getDataObject (); 43 } 44 45 } 46 | Popular Tags |