summaryrefslogtreecommitdiff
path: root/plugins/hg4idea/src/META-INF/plugin.xml
blob: 9ccc175803f57f369b570b36d20de8eca5e8b9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<idea-plugin>
  <id>hg4idea</id>
  <name>hg4idea</name>
  <description>
      <![CDATA[
      Allows working with <a href="http://mercurial.selenic.com/">Mercurial version control system</a>.
      The following features are available:
        <ul>
        <li>Dedicated page under the Version Control node in the Settings/Preferences dialog.</li>
        <li>Ability to browse, check out sources from and import into the available Mercurial repositories, when Mercurial is not enabled.</li>
        <li>When Mercurial is enabled, the Mercurial node appears on the VCS menu, and on the context menu of the editor.
        </ul>
      ]]>
   </description>
  <category>VCS Integration</category>
  <version>10.0</version>
  <vendor email="victor.iacoban@gmail.com, willem.verstraeten@gmail.com" url="http://www.bitbucket.org/willemv/hg4idea">Victor Iacoban and Willem Verstraeten</vendor>
  <depends>com.intellij.modules.vcs</depends>

  <extensions defaultExtensionNs="com.intellij">
    <vcs name="hg4idea" vcsClass="org.zmlx.hg4idea.HgVcs" displayName="Mercurial" administrativeAreaName=".hg"/>
    <checkoutProvider implementation="org.zmlx.hg4idea.provider.HgCheckoutProvider"/>
    <vcsRootChecker implementation="org.zmlx.hg4idea.roots.HgRootChecker"/>
    <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
    <vcsPopupProvider implementation="org.zmlx.hg4idea.provider.HgQuickListProvider"/>
    <logProvider implementation="org.zmlx.hg4idea.log.HgLogProvider"/>

    <applicationService serviceInterface="org.zmlx.hg4idea.HgGlobalSettings"
                        serviceImplementation="org.zmlx.hg4idea.HgGlobalSettings"/>
    <applicationService serviceInterface="org.zmlx.hg4idea.HgRememberedInputs"
                        serviceImplementation="org.zmlx.hg4idea.HgRememberedInputs"/>
    <projectService serviceInterface="org.zmlx.hg4idea.HgProjectSettings"
                    serviceImplementation="org.zmlx.hg4idea.HgProjectSettings"/>
    <projectService serviceInterface="org.zmlx.hg4idea.provider.update.HgUpdateConfigurationSettings"
                    serviceImplementation="org.zmlx.hg4idea.provider.update.HgUpdateConfigurationSettings"/>
    <projectService serviceInterface="org.zmlx.hg4idea.HgRootsHandler"
                    serviceImplementation="org.zmlx.hg4idea.HgRootsHandler" />
  </extensions>

  <project-components>
    <component>
      <interface-class>org.zmlx.hg4idea.HgRepositoryWatcher</interface-class>
      <implementation-class>org.zmlx.hg4idea.HgRepositoryWatcher</implementation-class>
    </component>
    <component>
      <implementation-class>org.zmlx.hg4idea.repo.HgRepositoryManager</implementation-class>
    </component>
  </project-components>

  <actions>
    <action id="Hg.Init" class="org.zmlx.hg4idea.action.HgInit" text="Create Mercurial Repository">
      <add-to-group group-id="Vcs.Import"/>
    </action>

    <group id="hg4idea.file.menu" popup="true" class="org.zmlx.hg4idea.action.HgMercurialMenu">
      <reference ref="CheckinFiles"/>
      <reference ref="ChangesView.AddUnversioned"/>
      <reference ref="ChangesView.Revert"/>
      <separator/>

      <reference ref="Compare.SameVersion"/>
      <reference ref="Compare.Selected"/>
      <reference ref="Vcs.ShowTabbedFileHistory"/>
      <reference ref="Vcs.ShowHistoryForBlock"/>
      <reference ref="Annotate"/>
      <separator/>

      <action id="hg4idea.pull" class="org.zmlx.hg4idea.action.HgPullAction" />
      <action id="hg4idea.push" class="org.zmlx.hg4idea.action.HgPushAction">
        <keyboard-shortcut first-keystroke="control shift K" keymap="$default"/>
      </action>
      <separator/>
      <action id="hg4idea.run.conflict.resolver" class="org.zmlx.hg4idea.action.HgRunConflictResolverAction"/>
      <action id="hg4idea.merge.files" class="org.zmlx.hg4idea.action.HgMerge" icon="AllIcons.Vcs.MergeSourcesTree"/>
      <separator/>

      <action id="hg4idea.branches" class="org.zmlx.hg4idea.action.HgBranchesAction" text="_Branches..."/>
      <action id="hg4idea.tag" class="org.zmlx.hg4idea.action.HgCreateTagAction"/>
      <action id="hg4idea.updateTo" class="org.zmlx.hg4idea.action.HgUpdateToAction"/>
      <action id="hg4idea.resolve.mark" class="org.zmlx.hg4idea.action.HgMarkResolved"/>
      <separator/>
      <action id="hg4idea.Rebase.Abort" class="org.zmlx.hg4idea.action.HgAbortRebaseAction" text="Abort Rebasing"/>
      <action id="hg4idea.Rebase.Continue" class="org.zmlx.hg4idea.action.HgContinueRebaseAction" text="Continue Rebasing"/>

      <separator/>
      <reference id="ChangesView.Browse"/>
      <separator/>

      <add-to-group group-id="VcsGroup" anchor="last"/>
      <add-to-group group-id="VcsGlobalGroup" anchor="after" relative-to-action="Vcs.Specific"/>
    </group>

    <group id="Hg.LogContextMenu">
      <separator/>
    </group>

    <action class="org.zmlx.hg4idea.action.HgUpdateToFromLogAction" id="hg4idea.UpdateToRevision" text="Update to Revision"/>
    <action class="org.zmlx.hg4idea.action.HgCreateTagFromLogAction" id="hg4idea.CreateNewTag" text="New Tag"
            description="Create new tag pointing to this commit"/>

    <group id="Hg.Log.ContextMenu">
      <reference id="hg4idea.UpdateToRevision"/>
      <reference id="hg4idea.CreateNewTag"/>
      <add-to-group group-id="Vcs.Log.ContextMenu"/>
    </group>

  </actions>

  <resource-bundle>org.zmlx.hg4idea.HgVcsMessages</resource-bundle>
</idea-plugin>