diff options
author | Elliott Baron <ebaron@fedoraproject.org> | 2010-06-26 22:27:34 -0400 |
---|---|---|
committer | Elliott Baron <ebaron@fedoraproject.org> | 2010-06-26 22:27:34 -0400 |
commit | 4e112eca7750a4f530c986be55c178c43c16d3ea (patch) | |
tree | db140c4fe4db9945502398e4869707ca0346353e /org.eclipse.cdt.codan.ui/plugin.xml | |
parent | aa73b3f2503808e4b4029a73368a75b258d6f0dc (diff) | |
download | codan-master.tar.gz codan-master.tar.xz codan-master.zip |
* org.eclipse.cdt.codan.checkers.ui: Updated.
* org.eclipse.cdt.codan.checkers: Updated.
* org.eclipse.cdt.codan.core: Updated.
* org.eclipse.cdt.codan.ui: Updated.
* org.eclipse.cdt.codan.core.cxx: Added.
* org.eclipse.cdt.codan.extension/META-INF/MANIFEST.MF: Import org.eclipse.cdt.codan.core.cxx.model.
* org.eclipse.cdt.codan.extension/src/org/eclipse/cdt/codan/extension/checkers/AbstractPropSimChecker.java: Superclass moved.
Diffstat (limited to 'org.eclipse.cdt.codan.ui/plugin.xml')
-rw-r--r-- | org.eclipse.cdt.codan.ui/plugin.xml | 103 |
1 files changed, 73 insertions, 30 deletions
diff --git a/org.eclipse.cdt.codan.ui/plugin.xml b/org.eclipse.cdt.codan.ui/plugin.xml index eff5ea6..c1284b7 100644 --- a/org.eclipse.cdt.codan.ui/plugin.xml +++ b/org.eclipse.cdt.codan.ui/plugin.xml @@ -3,54 +3,45 @@ <plugin> - <extension - point="org.eclipse.ui.popupMenus"> - <objectContribution - adaptable="true" - objectClass="org.eclipse.core.resources.IProject" - nameFilter="*" - id="org.eclipse.cdt.codan.ui.runaction"> - <action - label="Run Code Analysis" - class="org.eclipse.cdt.codan.ui.actions.RunCodeAnalysis" - menubarPath="additions" - enablesFor="+" - id="org.eclipse.cdt.codan.ui.actions.RunCodeAnalysis"> - </action> - </objectContribution> + <extension + point="org.eclipse.ui.commands"> + <category + id="org.eclipse.cdt.codan.ui.commands.category" + name="%category.name"> + </category> + </extension> - <extension point="org.eclipse.ui.preferencePages"> <page category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage" class="org.eclipse.cdt.codan.internal.ui.preferences.CodanPreferencePage" id="org.eclipse.cdt.codan.ui.preferences.CodanPreferencePage" - name="Code Analysis"> + name="%CodeAnalysisProperties.name"> </page> </extension> <extension point="org.eclipse.ui.propertyPages"> <page - name="C/C++ Code Analysis " - + category="org.eclipse.cdt.ui.newui.Page_head_general" class="org.eclipse.cdt.codan.internal.ui.preferences.CodanPreferencePage" - id="org.eclipse.cdt.codan.ui.properties.codanProblemsPropertyPage"> + id="org.eclipse.cdt.codan.ui.properties.codanProblemsPropertyPage" + name="%CodeAnalysisPreferences.name"> <enabledWhen> - <instanceof - value="org.eclipse.core.resources.IProject"> - </instanceof> + <adapt type="org.eclipse.core.resources.IProject"> + <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/> + </adapt> </enabledWhen> </page> <page category="org.eclipse.cdt.codan.ui.properties.codanProblemsPropertyPage" class="org.eclipse.cdt.codan.internal.ui.preferences.BuildPropertyPage" id="org.eclipse.cdt.codan.ui.properties.buildPropertyPage" - name="Build"> + name="%CodeAnalysisPreferencesBuild.name"> <enabledWhen> - <instanceof - value="org.eclipse.core.resources.IProject"> - </instanceof> + <adapt type="org.eclipse.core.resources.IProject"> + <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/> + </adapt> </enabledWhen> </page> </extension> @@ -62,9 +53,61 @@ class="org.eclipse.cdt.codan.internal.ui.preferences.PreferenceInitializer"> </initializer> </extension> + + <extension + point="org.eclipse.ui.commands"> + <command + categoryId="org.eclipse.cdt.codan.ui.commands.category" + id="org.eclipse.cdt.codan.commands.runCodanCommand" + name="%command.name"> + </command> + </extension> + <extension + point="org.eclipse.ui.handlers"> + <handler + class="org.eclipse.cdt.codan.ui.handlers.RunCodanCommand" + commandId="org.eclipse.cdt.codan.commands.runCodanCommand"> + </handler> + </extension> + <extension + point="org.eclipse.ui.views"> + <view + category="org.eclipse.cdt.ui.views" + class="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails" + icon="icons/problemDetails.gif" + id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails" + name="%view.name"> + </view> + </extension> + <extension-point id="codanProblemDetails" name="%extension-point.name" schema="schema/codanProblemDetails.exsd"/> + <extension-point id="codanMarkerResolution" name="%extension-point.name.codamMarkerResolution" schema="schema/codanMarkerResolution.exsd"/> + <!-- + <extension + point="org.eclipse.ui.bindings"> + <key + commandId="org.eclipse.cdt.codan.commands.runCodanCommand" + contextId="org.eclipse.ui.contexts.window" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M1+F9"> + </key> + </extension> + --> + <extension + point="org.eclipse.ui.perspectiveExtensions"> + <perspectiveExtension + targetID="org.eclipse.cdt.ui.CPerspective"> + + <showInPart id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"/> + + <viewShortcut id="org.eclipse.cdt.codan.internal.ui.views.ProblemDetails"/> + </perspectiveExtension> + </extension> + <extension - point="org.eclipse.ui.startup"> - <startup - class="org.eclipse.cdt.codan.ui.Startup"></startup> + point="org.eclipse.ui.ide.markerResolution"> + <markerResolutionGenerator + class="org.eclipse.cdt.codan.internal.ui.CodanProblemMarkerResolutionGenerator" + markerType="org.eclipse.cdt.codan.core.codanProblem"> + </markerResolutionGenerator> </extension> </plugin> |