1 19 20 package org.netbeans.modules.xml.xam.ui.actions; 21 22 import org.netbeans.modules.xml.xam.ui.cookies.ViewComponentCookie; 23 import org.openide.util.HelpCtx; 24 import org.openide.util.NbBundle; 25 26 30 public class ShowSourceAction extends AbstractShowComponentAction 31 { 32 static final long serialVersionUID = 1L; 33 37 public ShowSourceAction() 38 { 39 super(); 40 } 41 42 43 47 public String getName() 48 { 49 return NbBundle.getMessage(ShowSourceAction.class, 50 "LBL_ShowSourceAction_Name"); } 52 53 54 58 public HelpCtx getHelpCtx() 59 { 60 return new HelpCtx(getClass()); 61 } 62 63 64 protected ViewComponentCookie.View getView() 65 { 66 return ViewComponentCookie.View.SOURCE; 67 } 68 } 69 | Popular Tags |