blob: 594c28e209665da52eb5207cb9297e05c05c8d25 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<idea-plugin version="2">
<name>Copyright</name>
<id>com.intellij.copyright</id>
<description>
Copyright Notice. This plugin is used to ensure files in a project or module have
a consistent copyright notice.
</description>
<depends optional="true" config-file="java.xml">com.intellij.modules.java</depends>
<extensions defaultExtensionNs="com.intellij">
<projectConfigurable groupId="editor" groupWeight="110" dynamic="true" displayName="Copyright" instance="com.maddyhome.idea.copyright.ui.CopyrightProjectConfigurable"/>
<errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
<checkinHandlerFactory implementation="com.maddyhome.idea.copyright.actions.UpdateCopyrightCheckinHandlerFactory"/>
<applicationService serviceInterface="com.maddyhome.idea.copyright.util.FileTypeUtil"
serviceImplementation="com.maddyhome.idea.copyright.util.FileTypeUtil"/>
<projectService serviceInterface="com.maddyhome.idea.copyright.actions.UpdateCopyrightCheckinHandlerState"
serviceImplementation="com.maddyhome.idea.copyright.actions.UpdateCopyrightCheckinHandlerState"/>
</extensions>
<version>8.1</version>
<project-components>
<component>
<implementation-class>com.maddyhome.idea.copyright.CopyrightManager</implementation-class>
<loadForDefaultProject/>
</component>
</project-components>
<extensions defaultExtensionNs="com.intellij.copyright">
<updater filetype="XML" implementationClass="com.maddyhome.idea.copyright.psi.UpdateXmlCopyrightsProvider"/>
<updater filetype="HTML" implementationClass="com.maddyhome.idea.copyright.psi.UpdateXmlCopyrightsProvider"/>
</extensions>
<extensionPoints>
<extensionPoint name="updater" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint">
<with attribute="implementationClass" implements="com.maddyhome.idea.copyright.psi.UpdateCopyrightsProvider"/>
</extensionPoint>
<extensionPoint name="variablesProvider" beanClass="com.intellij.openapi.fileTypes.FileTypeExtensionPoint">
<with attribute="implementationClass" implements="com.maddyhome.idea.copyright.pattern.CopyrightVariablesProvider"/>
</extensionPoint>
</extensionPoints>
<actions>
<action id="UpdateCopyright" class="com.maddyhome.idea.copyright.actions.UpdateCopyrightAction" text="Update Copyright..." description="Generate/Update the copyright notice.">
<add-to-group group-id="ProjectViewPopupMenu" anchor="last"/>
<add-to-group group-id="CodeMenu" anchor="last"/>
<add-to-group group-id="NavbarPopupMenu" anchor="last"/>
</action>
<action id="GenerateCopyright" class="com.maddyhome.idea.copyright.actions.GenerateCopyrightAction" text="Copyright" description="Generate/Update the copyright notice.">
<add-to-group group-id="GenerateGroup" anchor="last"/>
</action>
</actions>
</idea-plugin>