1 19 package org.openide.actions; 20 21 import org.openide.util.HelpCtx; 22 import org.openide.util.NbBundle; 23 import org.openide.util.actions.CallbackSystemAction; 24 25 26 30 public class CutAction extends CallbackSystemAction { 31 protected void initialize() { 32 super.initialize(); 33 } 34 35 public Object getActionMapKey() { 36 return javax.swing.text.DefaultEditorKit.cutAction; 37 } 38 39 public String getName() { 40 return NbBundle.getMessage(CutAction.class, "Cut"); 41 } 42 43 public HelpCtx getHelpCtx() { 44 return new HelpCtx(CutAction.class); 45 } 46 47 protected String iconResource() { 48 return "org/openide/resources/actions/cut.gif"; } 50 51 protected boolean asynchronous() { 52 return false; 53 } 54 } 55 | Popular Tags |