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 37 public class DeleteSavedAction extends NodeAction { 38 39 public DeleteSavedAction() {} 40 43 public String getName() { 44 return NbBundle.getBundle(DeleteSavedAction.class).getString("MON_Delete_saved_11"); 45 } 46 47 50 public HelpCtx getHelpCtx() { 51 return HelpCtx.DEFAULT_HELP; 52 } 53 54 public void performAction(Node[] node) { 55 MonitorAction.getController().deleteDirectory(Controller.saveDirStr); 56 } 57 58 public boolean enable(Node[] nodes) { 59 return true; 60 } 61 62 public boolean asynchronous() { 63 return false; 64 } 65 } | Popular Tags |