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