Kill plugin logos
[idea/community.git] / plugins / gradle / src / META-INF / plugin.xml
1 <!--
2   ~  Copyright 2000-2011 JetBrains s.r.o.
3   ~  Licensed under the Apache License, Version 2.0 (the "License");
4   ~  you may not use this file except in compliance with the License.
5   ~  You may obtain a copy of the License at
6   ~
7   ~  http://www.apache.org/licenses/LICENSE-2.0
8   ~
9   ~  Unless required by applicable law or agreed to in writing, software
10   ~  distributed under the License is distributed on an "AS IS" BASIS,
11   ~  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12   ~  See the License for the specific language governing permissions and
13   ~  limitations under the License.
14   ~
15   -->
16
17 <idea-plugin url="http://confluence.jetbrains.net/display/IDEADEV/Gradle+integration">
18   <name>Gradle</name>
19   <id>org.jetbrains.plugins.gradle</id>
20   <vendor>JetBrains</vendor>
21   <description>Gradle integration</description>
22
23   <depends>com.intellij.modules.lang</depends>
24   <depends>org.intellij.groovy</depends>
25
26   <extensions defaultExtensionNs="com.intellij">
27     <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
28     <projectImportProvider implementation="org.jetbrains.plugins.gradle.importing.GradleProjectImportProvider"/>
29     <projectImportBuilder implementation="org.jetbrains.plugins.gradle.importing.GradleProjectImportBuilder"/>
30     <projectConfigurable instance="org.jetbrains.plugins.gradle.config.GradleConfigurable"/>
31     <library.presentationProvider implementation="org.jetbrains.plugins.gradle.config.GradleLibraryPresentationProvider" order="last"/>
32     <java.elementFinder implementation="org.jetbrains.plugins.gradle.config.GradleClassFinder"/>
33     <projectOpenProcessor implementation="org.jetbrains.plugins.gradle.importing.GradleProjectOpenProcessor"/>
34     <colorAndFontPanelFactory implementation="org.jetbrains.plugins.gradle.config.GradleColorAndFontPanelFactory"/>
35     <colorAndFontDescriptorProvider implementation="org.jetbrains.plugins.gradle.config.GradleColorAndFontDescriptorsProvider"/>
36     <postStartupActivity implementation="org.jetbrains.plugins.gradle.sync.GradleStartupActivity"/>
37
38     <!--Structure diff calculators-->
39     <applicationService serviceInterface="org.jetbrains.plugins.gradle.diff.GradleStructureChangesCalculator"
40                         serviceImplementation="org.jetbrains.plugins.gradle.diff.project.GradleProjectStructureChangesCalculator"/>
41     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.module.GradleModuleStructureChangesCalculator"/>
42     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.contentroot.GradleContentRootStructureChangesCalculator"/>
43     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.dependency.GradleModuleDependencyStructureChangesCalculator"/>
44     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.library.GradleLibraryStructureChangesCalculator"/>
45     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.diff.dependency.GradleLibraryDependencyStructureChangesCalculator"/>
46     
47     <!--Import services-->
48     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.importing.GradleModuleImporter"/>
49     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.importing.GradleLibraryImporter"/>
50     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.importing.GradleContentRootImporter"/>
51     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.importing.GradleDependencyImporter"/>
52
53     <!--Generic application services-->
54     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.remote.GradleApiFacadeManager"/>
55     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.util.GradleLibraryManager"/>
56     <applicationService serviceInterface="org.jetbrains.plugins.gradle.notification.GradleProgressNotificationManager"
57                         serviceImplementation="org.jetbrains.plugins.gradle.notification.GradleProgressNotificationManagerImpl"/>
58     <applicationService serviceInterface="org.jetbrains.plugins.gradle.config.PlatformFacade"
59                         serviceImplementation="org.jetbrains.plugins.gradle.config.PlatformFacadeImpl"/>
60     
61     <!--Conflict UI components-->
62     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.sync.conflict.GradleConflictControlFactory"/>
63     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.sync.conflict.GradleProjectConflictControlFactory"/>
64     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.sync.conflict.GradleCommonDependencyConflictControlFactory"/>
65     <applicationService serviceImplementation="org.jetbrains.plugins.gradle.sync.conflict.GradleLibraryDependencyConflictControlFactory"/>
66
67     <projectService serviceImplementation="org.jetbrains.plugins.gradle.config.GradleSettings"/>
68     <projectService serviceImplementation="org.jetbrains.plugins.gradle.config.GradleLocalSettings"/>
69     <projectService serviceImplementation="org.jetbrains.plugins.gradle.config.GradleProjectState"/>
70
71     <toolWindow id="JetGradle" anchor="right" icon="GradleIcons.ToolWindowGradle"
72                 factoryClass="org.jetbrains.plugins.gradle.ui.GradleToolWindowFactory"/>
73   </extensions>
74
75   <extensions defaultExtensionNs="org.intellij.groovy">
76     <positionManagerDelegate implementation="org.jetbrains.plugins.gradle.config.GradlePositionManager"/>
77     <scriptTypeDetector implementation="org.jetbrains.plugins.gradle.config.GradleScriptTypeDetector"/>
78     <defaultImportContributor implementation="org.jetbrains.plugins.gradle.config.GradleDefaultImportContributor"/>
79     <groovyFrameworkConfigNotification implementation="org.jetbrains.plugins.gradle.config.GradleGroovyConfigNotification"/>
80   </extensions>
81
82   <project-components>
83     <component>
84       <implementation-class>org.jetbrains.plugins.gradle.sync.GradleProjectStructureChangesModel</implementation-class>
85     </component>
86     <component>
87       <implementation-class>org.jetbrains.plugins.gradle.sync.GradleProjectStructureHelper</implementation-class>
88     </component>
89     <component>
90       <implementation-class>org.jetbrains.plugins.gradle.model.id.GradleEntityIdMapper</implementation-class>
91     </component>
92     <component>
93       <implementation-class>org.jetbrains.plugins.gradle.util.GradleProjectStructureContext</implementation-class>
94     </component>
95     <component>
96       <implementation-class>org.jetbrains.plugins.gradle.importing.GradleLocalNodeImportHelper</implementation-class>
97     </component>
98     <component>
99       <implementation-class>org.jetbrains.plugins.gradle.sync.GradleProjectStructureChangesDetector</implementation-class>
100     </component>
101     <component>
102       <implementation-class>org.jetbrains.plugins.gradle.notification.GradleConfigNotificationManager</implementation-class>
103     </component>
104     <component>
105       <implementation-class>org.jetbrains.plugins.gradle.task.GradleTaskManager</implementation-class>
106     </component>
107   </project-components>
108   
109   <actions>
110     
111     <!-- Tool window toolbar actions -->
112     <action id="Gradle.LinkToProject" class="org.jetbrains.plugins.gradle.action.GradleLinkToProjectAction"/>
113     <action id="Gradle.RefreshProject" class="org.jetbrains.plugins.gradle.action.GradleRefreshProjectAction" icon="AllIcons.Actions.Sync"/>
114     <action id="Gradle.OpenScript" class="org.jetbrains.plugins.gradle.action.GradleOpenScriptAction" icon="GradleIcons.GradleNavigate"/>
115     <action id="Gradle.Help.ToolWindow" class="org.jetbrains.plugins.gradle.action.GradleToolWindowHelpAction" icon="AllIcons.Actions.Help"/>
116     <group id="Gradle.ChangeActionsToolbar">
117       <reference id="Gradle.RefreshProject"/>
118       <reference id="Gradle.OpenScript"/>
119       <reference id="Gradle.Help.ToolWindow"/>
120     </group>
121
122     <!-- 'Sync project structure' tree nodes actions -->
123     <action id="Gradle.ImportEntity" class="org.jetbrains.plugins.gradle.action.GradleImportEntityAction" icon="GradleIcons.GradleImport"/>
124     <action id="Gradle.ShowConflict" class="org.jetbrains.plugins.gradle.action.GradleShowConflictDetailsAction" icon="AllIcons.Actions.Diff"/>
125     <group id="Gradle.SyncTreeGroup">
126       <reference id="Gradle.ImportEntity"/>
127       <reference id="Gradle.ShowConflict"/>
128     </group>
129
130     <!-- 'Sync project structure' tree filters -->
131     <action id="Gradle.SyncTreeFilter.GradleLocal" class="org.jetbrains.plugins.gradle.action.GradleLocalSyncTreeFilterAction"/>
132     <action id="Gradle.SyncTreeFilter.IntellijLocal" class="org.jetbrains.plugins.gradle.action.IntellijLocalSyncTreeFilterAction"/>
133     <action id="Gradle.SyncTreeFilter.Conflict" class="org.jetbrains.plugins.gradle.action.GradleConflictSyncTreeFilterAction"/>
134     <action id="Gradle.SyncTreeFilter.Confirmed" class="org.jetbrains.plugins.gradle.action.GradleConfirmedSyncTreeFilterAction"/>
135     <group id="Gradle.SyncTreeFilter">
136       <reference id="Gradle.SyncTreeFilter.GradleLocal"/>
137       <reference id="Gradle.SyncTreeFilter.IntellijLocal"/>
138       <reference id="Gradle.SyncTreeFilter.Conflict"/>
139       <!--<reference id="Gradle.SyncTreeFilter.Confirmed"/>-->
140     </group>
141     
142     <action id="Gradle.RebuildChangesTree" class="org.jetbrains.plugins.gradle.action.GradleRebuildStructureChangesTreeAction"/>
143   </actions>
144   
145 </idea-plugin>