1 19 20 package org.netbeans.modules.tasklist.usertasks.actions; 21 22 import org.openide.nodes.Node; 23 import org.openide.util.HelpCtx; 24 import org.openide.util.NbBundle; 25 26 import org.openide.util.actions.BooleanStateAction; 27 28 32 public class AsListAction extends BooleanStateAction { 33 34 private static final long serialVersionUID = 1; 35 36 protected boolean enable(Node[] node) { 37 return true; 38 } 39 40 protected void performAction(Node[] nodes) { 41 } 42 43 public String getName() { 44 return NbBundle.getMessage(AsListAction.class, 45 "LBL_NewSubtask"); } 47 48 protected String iconResource() { 49 return "org/netbeans/modules/tasklist/usertasks/actions/asList.png"; } 51 52 public HelpCtx getHelpCtx() { 53 return HelpCtx.DEFAULT_HELP; 54 } 57 58 protected boolean asynchronous() { 59 return false; 60 } 61 } 62 | Popular Tags |