1 19 20 package org.netbeans.modules.xml.xam.ui.customizer; 21 22 import java.util.Collection ; 23 import java.util.Collections ; 24 import org.openide.nodes.AbstractNode; 25 import org.openide.nodes.Children; 26 import org.openide.nodes.Node; 27 import org.openide.util.NbBundle; 28 29 35 public class WaitNode extends AbstractNode { 36 37 public static final Object WAIT_KEY = new Object (); 38 39 42 public WaitNode() { 43 super(Children.LEAF); 44 setName(NbBundle.getMessage(WaitNode.class, "LBL_WaitNode_Wait")); 45 setIconBaseWithExtension("org/openide/src/resources/wait.gif"); 46 } 47 48 53 public static Node[] createNode() { 54 return new Node[] { new WaitNode() }; 55 } 56 57 63 public static Collection getKeys() { 64 return Collections.singletonList(WaitNode.WAIT_KEY); 65 } 66 } 67 | Popular Tags |