2002-07-17 16:51:05 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<plugin
|
|
|
|
id="net.sourceforge.pmd.eclipse"
|
|
|
|
name="pmd-eclipse Plug-in"
|
2002-09-06 20:52:46 +00:00
|
|
|
version="0.3.0"
|
2002-07-17 16:51:05 +00:00
|
|
|
provider-name="PMD"
|
|
|
|
class="net.sourceforge.pmd.eclipse.PMDPlugin">
|
|
|
|
|
|
|
|
<runtime>
|
|
|
|
<library name="pmd-eclipse.jar">
|
|
|
|
<export name="*"/>
|
|
|
|
</library>
|
2002-09-06 20:28:30 +00:00
|
|
|
<library name="lib/pmd-0.9.jar"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
</runtime>
|
|
|
|
<requires>
|
|
|
|
<import plugin="org.eclipse.core.resources"/>
|
|
|
|
<import plugin="org.eclipse.ui"/>
|
|
|
|
<import plugin="org.apache.xerces"/>
|
2002-08-23 00:57:29 +00:00
|
|
|
<import plugin="org.eclipse.swt"/>
|
2002-07-17 16:51:05 +00:00
|
|
|
</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"
|
2002-07-17 17:04:08 +00:00
|
|
|
icon="icons/pmd-icon-16.gif"
|
2002-07-17 16:51:05 +00:00
|
|
|
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"
|
2002-08-13 22:55:03 +00:00
|
|
|
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"
|
2002-07-17 16:51:05 +00:00
|
|
|
class="net.sourceforge.pmd.eclipse.preferences.PMDPreferencePage"
|
|
|
|
id="net.sourceforge.pmd.eclipse.preferences.PMDPreferencePage">
|
|
|
|
</page>
|
2002-08-14 20:59:42 +00:00
|
|
|
<page
|
|
|
|
name="CPD Preferences"
|
|
|
|
category="net.sourceforge.pmd.eclipse.preferences.GeneralPreferencesPage"
|
|
|
|
class="net.sourceforge.pmd.eclipse.preferences.CPDPreferencePage"
|
|
|
|
id="net.sourceforge.pmd.eclipse.CPDPreferencePage">
|
|
|
|
</page>
|
2002-07-17 16:51:05 +00:00
|
|
|
</extension>
|
2002-08-13 22:55:03 +00:00
|
|
|
<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>
|
2002-08-14 20:59:42 +00:00
|
|
|
<objectContribution
|
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
|
|
nameFilter="*"
|
|
|
|
id="net.sourceforge.pmd.eclipse.CPDCheckProject">
|
|
|
|
<menu
|
|
|
|
label="&CPD"
|
|
|
|
path="cpdadditions"
|
|
|
|
id="net.sourceforge.pmd.eclipse.CPDCheckProjectMenu">
|
|
|
|
<separator
|
|
|
|
name="group1">
|
|
|
|
</separator>
|
|
|
|
</menu>
|
|
|
|
<action
|
|
|
|
label="Check Project"
|
|
|
|
state="false"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.CPDCheckProjectAction"
|
|
|
|
menubarPath="net.sourceforge.pmd.eclipse.CPDCheckProjectMenu/group1"
|
|
|
|
enablesFor="1"
|
|
|
|
id="net.sourceforge.pmd.eclipse.CPDCheckProjectActionItem">
|
|
|
|
</action>
|
|
|
|
</objectContribution>
|
2002-09-06 20:28:30 +00:00
|
|
|
<objectContribution
|
|
|
|
objectClass="org.eclipse.core.resources.IProject"
|
|
|
|
nameFilter="*"
|
|
|
|
id="net.sourceforge.pmd.eclipse.PMDCheckProjectContribution">
|
|
|
|
<menu
|
|
|
|
label="&PMD"
|
|
|
|
path="pmdadditions"
|
|
|
|
id="net.sourceforge.pmd.eclipse.PMDCheckProjectMenu">
|
|
|
|
<separator
|
|
|
|
name="group1">
|
|
|
|
</separator>
|
|
|
|
</menu>
|
|
|
|
<action
|
|
|
|
label="PMD Check Project"
|
|
|
|
class="net.sourceforge.pmd.eclipse.actions.PMDCheckProjectAction"
|
|
|
|
menubarPath="net.sourceforge.pmd.eclipse.PMDCheckProjectMenu/group1"
|
|
|
|
enablesFor="1"
|
|
|
|
id="net.sourceforge.pmd.eclipse.PMDActionItem">
|
|
|
|
</action>
|
|
|
|
</objectContribution>
|
2002-08-13 22:55:03 +00:00
|
|
|
</extension>
|
2002-08-22 21:42:08 +00:00
|
|
|
<extension
|
|
|
|
id="mymarker"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="PMDMarker"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super
|
|
|
|
type="org.eclipse.core.resources.problemmarker">
|
|
|
|
</super>
|
|
|
|
<super
|
|
|
|
type="net.sourceforge,pmd.eclipse.mymarker">
|
|
|
|
</super>
|
|
|
|
<persistent
|
|
|
|
value="false">
|
|
|
|
</persistent>
|
|
|
|
</extension>
|
|
|
|
<extension
|
|
|
|
id="CPDMarker"
|
|
|
|
point="org.eclipse.core.resources.markers">
|
|
|
|
<super
|
|
|
|
type="org.eclipse.core.resources.problemmarker">
|
|
|
|
</super>
|
|
|
|
<super
|
|
|
|
type="net.sourceforge,pmd.eclipse.mymarker">
|
|
|
|
</super>
|
|
|
|
<persistent
|
|
|
|
value="false">
|
|
|
|
</persistent>
|
|
|
|
</extension>
|
2002-07-17 16:51:05 +00:00
|
|
|
|
|
|
|
</plugin>
|