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