1 19 20 package org.netbeans.modules.xml.schema.ui.nodes.schema; 21 22 import org.netbeans.modules.xml.schema.model.GlobalAttributeGroup; 23 import org.netbeans.modules.xml.schema.model.SchemaComponentReference; 24 import org.netbeans.modules.xml.schema.ui.nodes.*; 25 import org.openide.nodes.Children; 26 import org.openide.util.NbBundle; 27 import org.openide.util.datatransfer.NewType; 28 32 public class GlobalAttributeGroupNode extends SchemaComponentNode<GlobalAttributeGroup> 33 { 34 38 public GlobalAttributeGroupNode(SchemaUIContext context, 39 SchemaComponentReference<GlobalAttributeGroup> reference, 40 Children children) 41 { 42 super(context,reference,children); 43 44 setIconBaseWithExtension( 45 "org/netbeans/modules/xml/schema/ui/nodes/resources/attributeGroup.png"); 46 } 47 48 49 53 @Override 54 public String getTypeDisplayName() 55 { 56 return NbBundle.getMessage(GlobalAttributeGroupNode.class, 57 "LBL_GlobalAttributeGroupNode_TypeDisplayName"); } 59 } 60 | Popular Tags |