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 31 public class CloneViewAction extends CallbackSystemAction { 32 public Object getActionMapKey() { 33 return "cloneWindow"; } 35 36 40 public String getName() { 41 return NbBundle.getMessage(CloneViewAction.class, "CloneView"); 42 } 43 44 public HelpCtx getHelpCtx() { 45 return new HelpCtx(CloneViewAction.class); 46 } 47 48 protected String iconResource() { 49 return "org/openide/resources/actions/clone.gif"; } 51 52 protected boolean asynchronous() { 53 return false; 54 } 55 } 56 | Popular Tags |