You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

93 lines
3.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3. <Extern href="stdidcmd.h" />
  4. <Extern href="vsshlids.h"/>
  5. <Extern href="msobtnid.h"/>
  6. <Commands package="guidVsLolPkg">
  7. <Menus>
  8. <Menu guid="guidVsLolCmdSet" id="VsLolToolbar" priority="0x100" type="Toolbar">
  9. <Parent guid="guidVsLolCmdSet" id="VsLolToolbar" />
  10. <Strings>
  11. <ButtonText>C# Sample Toolbar</ButtonText>
  12. </Strings>
  13. </Menu>
  14. </Menus>
  15. <Groups>
  16. <Group guid="guidVsLolCmdSet" id="VsLolMenuGroup" priority="0x600">
  17. <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_TOOLS"/>
  18. </Group>
  19. <Group guid="guidVsLolCmdSet" id="VsLolMainToolbarGroup" priority="0x100">
  20. <Parent guid="guidSHLMainMenu" id="IDM_VS_TOOL_STANDARD"/>
  21. </Group>
  22. <Group guid="guidVsLolCmdSet" id="VsLolToolbarGroup" priority="0x100">
  23. <Parent guid="guidVsLolCmdSet" id="VsLolToolbar"/>
  24. </Group>
  25. <Group guid="guidVsLolCmdSet" id="VsLolEditorCtxGroup" priority="0x100">
  26. <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE"/>
  27. </Group>
  28. <Group guid="guidVsLolCmdSet" id="VsLolEditorCtxGroup" priority="0x600">
  29. <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/>
  30. </Group>
  31. </Groups>
  32. <Buttons>
  33. <Button guid="guidVsLolCmdSet" id="cmdidGenerateCompilers" priority="0x100" type="Button">
  34. <Parent guid="guidVsLolCmdSet" id="VsLolMenuGroup"/>
  35. <Icon guid="guidGearBmp" id="bmpGear"/>
  36. <CommandFlag>DynamicVisibility</CommandFlag>
  37. <CommandFlag>DefaultInvisible</CommandFlag>
  38. <Strings>
  39. <!-- This will override what's in .resx -->
  40. <ButtonText>Lol: Generate Compilers</ButtonText>
  41. </Strings>
  42. </Button>
  43. </Buttons>
  44. <Bitmaps>
  45. <Bitmap guid="guidGearBmp" href="gear.bmp" usedList="bmpGear"/>
  46. </Bitmaps>
  47. </Commands>
  48. <CommandPlacements>
  49. <!--Here we place two commands inside the empty menu group we created in the Groups section.-->
  50. <CommandPlacement guid="guidVsLolCmdSet" id="cmdidGenerateCompilers" priority="0x100">
  51. <Parent guid="guidVsLolCmdSet" id="VsLolEditorCtxGroup"/>
  52. </CommandPlacement>
  53. </CommandPlacements>
  54. <KeyBindings>
  55. </KeyBindings>
  56. <Symbols>
  57. <!--The first GUID defined here is the one for the package. It does not contains numeric IDs.-->
  58. <GuidSymbol name="guidVsLolPkg" value="{f96f7ac5-16ac-4061-8b92-0a02bb455ae9}" />
  59. <GuidSymbol name="guidVsLolCmdSet" value="{ce508d12-530e-45d0-8b52-1e9ee3f8eaaf}">
  60. <IDSymbol name="VsLolToolbar" value="0x101" />
  61. <IDSymbol name="VsLolMenuGroup" value="0x1010" />
  62. <IDSymbol name="VsLolToolbarGroup" value="0x1011" />
  63. <IDSymbol name="VsLolMainToolbarGroup" value="0x1012" />
  64. <IDSymbol name="VsLolEditorCtxGroup" value="0x1013" />
  65. <IDSymbol name="cmdidGenerateCompilers" value="0x2001" />
  66. <IDSymbol name="cmdidUnused1" value="0x2002" />
  67. <IDSymbol name="cmdidUnused2" value="0x2003" />
  68. </GuidSymbol>
  69. <GuidSymbol name="guidGearBmp" value="{560dba06-c26b-4731-8229-b816818e5992}">
  70. <IDSymbol name="bmpGear" value="1" />
  71. </GuidSymbol>
  72. </Symbols>
  73. </CommandTable>