1 19 20 29 30 package org.netbeans.modules.web.monitor.client; 31 32 import org.openide.nodes.Node; 33 import org.openide.util.HelpCtx; 34 import org.openide.util.NbBundle; 35 import org.openide.util.actions.NodeAction; 36 import org.openide.nodes.*; 37 38 public class DeleteAllAction extends NodeAction { 39 40 public DeleteAllAction() {} 41 44 public String getName() { 45 return NbBundle.getBundle(DeleteAllAction.class).getString("MON_Delete_all_9"); 46 } 47 48 51 public HelpCtx getHelpCtx() { 52 return HelpCtx.DEFAULT_HELP; 53 } 54 55 public void performAction(Node[] node) { 56 MonitorAction.getController().deleteTransactions(); 57 } 58 59 public boolean enable(Node[] nodes) { 60 return true; 61 } 62 63 public boolean asynchronous() { 64 return false; 65 } 66 } | Popular Tags |