Using Features makes it easy to add actions to menus of the user interface in SharePoint. To define a custom action for a particular menu, you must identify the menu by setting the location to the appropriate SharePoint namespace, and by using the ID that SharePoint uses to identify the specific location. The following example shows how to add a link to to the a view selector through a Feature.
<CustomAction Id="custom.ActionMenu" Location="Microsoft.SharePoint.StandardMenu" GroupId="ViewSelectorMenu" Title="XSLT View" RegistrationType="List" RegistrationId="101" > <UrlAction Url="xsltdataviewurl.aspx"/> </CustomAction>