1 19 20 23 24 package org.netbeans.modules.web.monitor.client; 25 26 import org.openide.nodes.Node; 27 import org.openide.util.HelpCtx; 28 import org.openide.util.NbBundle; 29 import org.openide.util.actions.NodeAction; 30 31 public class ReloadAction extends NodeAction { 32 33 34 protected boolean enable(Node[] activatedNodes) { 35 return true; 36 } 37 38 public HelpCtx getHelpCtx() { 39 return HelpCtx.DEFAULT_HELP; 40 } 41 42 public String getName() { 43 return NbBundle.getBundle(ReloadAction.class).getString("MON_Reload_all"); 44 } 45 46 protected void performAction(Node[] activatedNodes) { 47 MonitorAction.getController().getTransactions(); 48 } 49 50 public boolean asynchronous() { 51 return false; 52 } 53 } 54 | Popular Tags |