1 package org.netbeans.modules.exceptions.action; 2 3 import org.netbeans.modules.exceptions.ExceptionsHandler; 4 import org.openide.util.HelpCtx; 5 import org.openide.util.NbBundle; 6 import org.openide.util.actions.CallableSystemAction; 7 8 public final class NotifyAction extends CallableSystemAction { 9 10 public void performAction() { 11 ExceptionsHandler.getInstance().showNotifyDialog(); 12 } 13 14 public String getName() { 15 return NbBundle.getMessage(NotifyAction.class, "CTL_NotifyAction"); 16 } 17 18 protected void initialize() { 19 super.initialize(); 20 putValue("noIconInMenu", Boolean.TRUE); 22 } 23 24 public HelpCtx getHelpCtx() { 25 return HelpCtx.DEFAULT_HELP; 26 } 27 28 protected boolean asynchronous() { 29 return false; 30 } 31 32 } 33 | Popular Tags |