1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <?eclipse version="3.2"?> |
|
3 <plugin> |
|
4 |
|
5 <extension |
|
6 point="org.eclipse.ui.popupMenus"> |
|
7 <objectContribution |
|
8 adaptable="true" |
|
9 objectClass="org.eclipse.core.resources.IFile" |
|
10 id="com.nokia.carbide.cpp.leavescan.runLeaveScan"> |
|
11 <!-- Only show action for Carbide.c++ projects. The leavescan action utilizes some Carbide.c++ specific APIs --> |
|
12 <visibility> |
|
13 <and> |
|
14 <objectState |
|
15 name="projectNature" |
|
16 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/> |
|
17 <or> |
|
18 <objectState |
|
19 name="extension" |
|
20 value="cpp" |
|
21 /> |
|
22 <objectState |
|
23 name="extension" |
|
24 value="cp" |
|
25 /> |
|
26 </or> |
|
27 </and> |
|
28 </visibility> |
|
29 <action |
|
30 label="Run Leavescan" |
|
31 class="com.nokia.carbide.cpp.internal.leavescan.popup.actions.LeavescanAction" |
|
32 menubarPath="buildGroup" |
|
33 enablesFor="+" |
|
34 icon="icons/Run_Leavescan.png" |
|
35 id="com.nokia.carbide.cpp.leavescan.leaveScanAction"> |
|
36 </action> |
|
37 </objectContribution> |
|
38 </extension> |
|
39 |
|
40 <extension |
|
41 point="org.eclipse.ui.popupMenus"> |
|
42 <objectContribution |
|
43 adaptable="true" |
|
44 objectClass="org.eclipse.core.resources.IFile" |
|
45 nameFilter="*.mmp" |
|
46 id="com.nokia.carbide.cpp.leavescan.runLeaveScanOnMMP"> |
|
47 <!-- Only show action for Carbide.c++ projects. The leavescan action utilizes some Carbide.c++ specific APIs --> |
|
48 <visibility> |
|
49 <objectState |
|
50 name="projectNature" |
|
51 value="com.nokia.carbide.cdt.builder.carbideCPPBuilderNature"/> |
|
52 </visibility> |
|
53 <action |
|
54 label="Run Leavescan on Project MMP" |
|
55 class="com.nokia.carbide.cpp.internal.leavescan.popup.actions.LeavescanAction" |
|
56 menubarPath="buildGroup" |
|
57 enablesFor="1" |
|
58 icon="icons/Run_Leavescan.png" |
|
59 id="com.nokia.carbide.cpp.leavescan.leaveScanActionOnMMP"> |
|
60 </action> |
|
61 </objectContribution> |
|
62 </extension> |
|
63 |
|
64 <extension |
|
65 id="LeaveScanErrorParser" |
|
66 name="LeaveScan Error Parser" |
|
67 point="org.eclipse.cdt.core.ErrorParser"> |
|
68 <errorparser |
|
69 class="com.nokia.carbide.cpp.internal.leavescan.error.parsers.LeaveScanErrorParser"> |
|
70 </errorparser> |
|
71 </extension> |
|
72 |
|
73 <extension |
|
74 point="org.eclipse.ui.preferencePages"> |
|
75 <page |
|
76 name="Leavescan Preferences" |
|
77 class="com.nokia.carbide.cpp.internal.leavescan.ui.LeavescanPreferences" |
|
78 category="com.nokia.carbide.cpp.preferences.ExtensionsPreferencesPage" |
|
79 id="com.nokia.carbide.cpp.leavescan.ui.LeavescanPreferences"> |
|
80 </page> |
|
81 </extension> |
|
82 |
|
83 <extension |
|
84 point="org.eclipse.core.runtime.preferences"> |
|
85 <initializer |
|
86 class="com.nokia.carbide.cpp.internal.leavescan.ui.LeavescanPreferenceInitializer"> |
|
87 </initializer> |
|
88 </extension> |
|
89 <extension |
|
90 point="org.eclipse.ui.startup"> |
|
91 </extension> |
|
92 |
|
93 |
|
94 <!-- Carbide Tool Help extension --> |
|
95 <!-- Uncomment to add content assist material to the Help system --> |
|
96 <!-- |
|
97 <extension point="org.eclipse.help.toc"> |
|
98 <toc |
|
99 file="html/toolTOC.xml" |
|
100 primary="true"/> |
|
101 </extension> |
|
102 --> |
|
103 |
|
104 <!-- Carbide.c++ cheatsheets extension --> |
|
105 <!-- Uncomment to add cheatsheet content --> |
|
106 |
|
107 <!-- Rename the "id" as appropriate for your tool --> |
|
108 <!-- |
|
109 <extension point="org.eclipse.ui.cheatsheets.cheatSheetContent"> |
|
110 <cheatsheet |
|
111 category="com.nokia.carbide.ide.cheatsheets" |
|
112 contentFile="html/cheatsheets/getStarted_tool.xml" |
|
113 id="com.nokia.carbide.cpp.leavescan.tool" |
|
114 name="Tool Example"/> |
|
115 </extension> |
|
116 --> |
|
117 |
|
118 <!-- CONTEXT IDs for CONTEXTUAL HELP in windows, dialogs, and views --> |
|
119 <!-- Uncomment to add F1 user assistance content --> |
|
120 <!-- |
|
121 <extension point="org.eclipse.help.contexts" > |
|
122 |
|
123 <contexts file="html/context_help/org_eclipse_debug_ui.xml" |
|
124 plugin="org.eclipse.debug.ui" /> |
|
125 |
|
126 </extension> |
|
127 --> |
|
128 |
|
129 <!-- Keyword Indexing support --> |
|
130 <!-- Uncomment to add keyword index to Help system --> |
|
131 <!-- |
|
132 <extension point="org.eclipse.help.index" > |
|
133 <index file="html/index.xml"/> |
|
134 </extension> |
|
135 --> |
|
136 |
|
137 </plugin> |
|