1 19 20 package org.netbeans.modules.j2ee.ejbcore.ui.logicalview.ejb.action; 21 22 import javax.swing.Action ; 23 import org.openide.util.HelpCtx; 24 import org.openide.util.NbBundle; 25 import org.openide.util.actions.SystemAction; 26 27 31 public class AddActionGroup extends EJBActionGroup { 32 33 public String getName() { 34 return NbBundle.getMessage(AddActionGroup.class, "LBL_AddActionGroup"); 35 } 36 37 38 protected Action [] grouped() { 39 return new Action [] { 40 new AddBusinessMethodAction(NbBundle.getMessage(AddActionGroup.class, "LBL_BusinessMethodAction")), 41 new AddCreateMethodAction(NbBundle.getMessage(AddActionGroup.class, "LBL_CreateMethodAction")), 42 new AddFinderMethodAction(NbBundle.getMessage(AddActionGroup.class, "LBL_FinderMethodAction")), 43 new AddHomeMethodAction(NbBundle.getMessage(AddActionGroup.class, "LBL_HomeMethodAction")), 44 new AddSelectMethodAction(NbBundle.getMessage(AddActionGroup.class, "LBL_SelectMethodAction")), 45 SystemAction.get(AddCmpFieldAction.class) 46 }; 47 } 48 49 public HelpCtx getHelpCtx() { 50 return HelpCtx.DEFAULT_HELP; 51 } 52 53 } 54 | Popular Tags |