1 19 20 package org.netbeans.modules.tasklist.core; 21 22 import org.openide.util.HelpCtx; 23 import org.openide.util.NbBundle; 24 import org.openide.util.actions.CallableSystemAction; 25 26 31 public final class ExpandAllAction extends CallableSystemAction { 32 33 private static final long serialVersionUID = 1; 34 35 38 public void performAction() { 39 TaskListView view = TaskListView.getCurrent(); 40 if (view != null) { 41 view.expandAll(); 42 } 43 } 44 45 public String getName() { 46 return NbBundle.getMessage(ExpandAllAction.class, 47 "LBL_ExpandAll"); } 49 50 public HelpCtx getHelpCtx() { 51 return HelpCtx.DEFAULT_HELP; 52 } 55 56 @Override 57 protected boolean asynchronous() { 58 return false; 59 } 60 } 61 | Popular Tags |