forked from phoedos/pmd
bd2a929921
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@685 51baf565-9d33-0410-a72c-fc3788e3496d
95 lines
3.0 KiB
XML
95 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plugin
|
|
id="net.sourceforge.pmd.eclipse"
|
|
name="pmd-eclipse Plug-in"
|
|
version="0.1.0"
|
|
provider-name="PMD"
|
|
class="net.sourceforge.pmd.eclipse.PMDPlugin">
|
|
|
|
<runtime>
|
|
<library name="pmd-eclipse.jar">
|
|
<export name="*"/>
|
|
</library>
|
|
<library name="lib/pmd-0.8.jar"/>
|
|
</runtime>
|
|
<requires>
|
|
<import plugin="org.eclipse.core.resources"/>
|
|
<import plugin="org.eclipse.ui"/>
|
|
<import plugin="org.apache.xerces"/>
|
|
</requires>
|
|
|
|
|
|
<extension
|
|
point="org.eclipse.ui.actionSets">
|
|
<actionSet
|
|
label="Run PMD"
|
|
visible="true"
|
|
id="net.sourceforge.pmd.eclipse.actionSet">
|
|
<menu
|
|
label="&PMD"
|
|
id="sampleMenu">
|
|
<separator
|
|
name="sampleGroup">
|
|
</separator>
|
|
</menu>
|
|
<action
|
|
label="&PMD"
|
|
icon="icons/pmd-icon-16.gif"
|
|
tooltip="Run PMD"
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDAction"
|
|
menubarPath="sampleMenu/sampleGroup"
|
|
toolbarPath="sampleGroup"
|
|
id="net.sourceforge.pmd.eclipse.actions.PMDAction">
|
|
</action>
|
|
</actionSet>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.perspectiveExtensions">
|
|
<perspectiveExtension
|
|
targetID="org.eclipse.ui.resourcePerspective">
|
|
<actionSet
|
|
id="net.sourceforge.pmd.eclipse.actionSet">
|
|
</actionSet>
|
|
</perspectiveExtension>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.preferencePages">
|
|
<page
|
|
name="PMD"
|
|
class="net.sourceforge.pmd.eclipse.preferences.GeneralPreferencesPage"
|
|
id="net.sourceforge.pmd.eclipse.preferences.GeneralPreferencesPage">
|
|
</page>
|
|
<page
|
|
name="RuleSet Preferences"
|
|
category="net.sourceforge.pmd.eclipse.preferences.GeneralPreferencesPage"
|
|
class="net.sourceforge.pmd.eclipse.preferences.PMDPreferencePage"
|
|
id="net.sourceforge.pmd.eclipse.preferences.PMDPreferencePage">
|
|
</page>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.ui.popupMenus">
|
|
<objectContribution
|
|
objectClass="org.eclipse.core.resources.IFile"
|
|
nameFilter="*.java"
|
|
id="net.sourceforge.pmd.eclipse.PMDCheckFileContribution">
|
|
<menu
|
|
label="&PMD"
|
|
path="additions"
|
|
id="net.sourceforge.pmd.eclipse.PMDCheckFileMenu">
|
|
<separator
|
|
name="group1">
|
|
</separator>
|
|
</menu>
|
|
<action
|
|
label="PMD Check File"
|
|
state="false"
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckFileAction"
|
|
menubarPath="net.sourceforge.pmd.eclipse.PMDCheckFileMenu/group1"
|
|
enablesFor="*"
|
|
id="net.sourceforge.pmd.eclipse.PMDCheckFileActionItem">
|
|
</action>
|
|
</objectContribution>
|
|
</extension>
|
|
|
|
</plugin>
|