1 19 20 package org.netbeans.modules.xml.schema.ui.nodes.schema; 21 22 import org.netbeans.modules.xml.schema.model.AppInfo; 23 import org.netbeans.modules.xml.schema.model.SchemaComponentReference; 24 import org.netbeans.modules.xml.schema.ui.nodes.SchemaUIContext; 25 import org.netbeans.modules.xml.schema.ui.nodes.SchemaComponentNode; 26 import org.openide.nodes.Children; 27 import org.openide.util.NbBundle; 28 29 34 public class AppInfoNode extends SchemaComponentNode<AppInfo> 35 { 36 40 public AppInfoNode(SchemaUIContext context, 41 SchemaComponentReference<AppInfo> reference, 42 Children children) 43 { 44 super(context,reference,children); 45 46 setIconBaseWithExtension( 47 "org/netbeans/modules/xml/schema/ui/nodes/resources/annotation.png"); 48 } 49 50 51 55 @Override 56 public String getTypeDisplayName() 57 { 58 return NbBundle.getMessage(DocumentationNode.class, 59 "LBL_AppInfoNode_TypeDisplayName"); } 61 62 63 } 64 | Popular Tags |