external system: before_sync/after_sync actions
[idea/community.git] / platform / platform-resources / src / idea / ExternalSystemActions.xml
1 <component>
2   <actions>
3
4     <action id="ExternalSystem.RefreshAllProjects"
5             class="com.intellij.openapi.externalSystem.action.RefreshAllExternalProjectsAction"
6             icon="AllIcons.Actions.Refresh"/>
7     <action id="ExternalSystem.RefreshProject"
8             class="com.intellij.openapi.externalSystem.action.RefreshExternalProjectAction"
9             icon="AllIcons.Actions.Refresh"/>
10     <action id="ExternalSystem.AttachProject"
11             class="com.intellij.openapi.externalSystem.action.AttachExternalProjectAction"/>
12     <action id="ExternalSystem.DetachProject"
13             class="com.intellij.openapi.externalSystem.action.DetachExternalProjectAction"
14             use-shortcut-of="$Delete"/>
15     <action id="ExternalSystem.OpenConfig"
16             class="com.intellij.openapi.externalSystem.action.OpenExternalConfigAction"
17             use-shortcut-of="EditSource"/>
18     <action id="ExternalSystem.ShowSettings"
19             class="com.intellij.openapi.externalSystem.action.ShowExternalSystemSettingsAction"
20             icon="AllIcons.General.ProjectSettings">
21     </action>
22
23     <action id="ExternalSystem.ToggleAutoImport"
24             class="com.intellij.openapi.externalSystem.action.ToggleAutoImportAction">
25     </action>
26
27     <action id="ExternalSystem.ExpandAll" class="com.intellij.openapi.externalSystem.action.ExternalSystemTreeAction$ExpandAll"
28             text="Expand All"
29             icon="AllIcons.Actions.Expandall"
30             use-shortcut-of="ExpandAll"/>
31     <action id="ExternalSystem.CollapseAll" class="com.intellij.openapi.externalSystem.action.ExternalSystemTreeAction$CollapseAll"
32             text="Collapse All"
33             icon="AllIcons.Actions.Collapseall"
34             use-shortcut-of="CollapseAll"/>
35
36     <action id="ExternalSystem.RunTask"
37             class="com.intellij.openapi.externalSystem.action.task.RunExternalSystemTaskAction"
38             text="_Run Task"
39             description="Execute selected tasks"
40             icon="AllIcons.Actions.Execute">
41     </action>
42     <action id="ExternalSystem.AssignShortcut"
43             class="com.intellij.openapi.externalSystem.action.task.AssignShortcutAction" text="Assign Shortcut..."
44             description="Assign shortcut to the selected task">
45     </action>
46     <action id="ExternalSystem.AssignRunConfigurationShortcut"
47             class="com.intellij.openapi.externalSystem.action.task.AssignRunConfigurationShortcutAction" text="Assign Shortcut..."
48             description="Assign shortcut to the selected Run Configuration">
49     </action>
50
51     <action id="ExternalSystem.BeforeSync"
52             class="com.intellij.openapi.externalSystem.action.task.ToggleBeforeSyncTaskAction" text="Execute Before Sync"
53             description="Execute selected task before the project import">
54     </action>
55     <action id="ExternalSystem.AfterSync"
56             class="com.intellij.openapi.externalSystem.action.task.ToggleAfterSyncTaskAction" text="Execute After Sync"
57             description="Execute selected task after the project import">
58     </action>
59     <action id="ExternalSystem.BeforeCompile"
60             class="com.intellij.openapi.externalSystem.action.task.ToggleBeforeCompileTasksAction" text="Execute Before Make"
61             description="Execute selected task before Make">
62     </action>
63     <action id="ExternalSystem.AfterCompile"
64             class="com.intellij.openapi.externalSystem.action.task.ToggleAfterCompileTasksAction" text="Execute After Make"
65             description="Execute selected task after Make">
66     </action>
67     <action id="ExternalSystem.BeforeRebuild"
68             class="com.intellij.openapi.externalSystem.action.task.ToggleBeforeRebuildTasksAction" text="Execute Before Rebuild"
69             description="Execute selected task before full rebuild">
70     </action>
71     <action id="ExternalSystem.AfterRebuild"
72             class="com.intellij.openapi.externalSystem.action.task.ToggleAfterRebuildTasksAction" text="Execute After Rebuild"
73             description="Execute selected task after full rebuild">
74     </action>
75     <action id="ExternalSystem.BeforeRun"
76             class="com.intellij.openapi.externalSystem.action.task.ToggleBeforeRunTaskAction" text="Execute Before Run/Debug..."
77             description="Execute selected task before launching Run/Debug configuration">
78     </action>
79
80     <action id="ExternalSystem.GroupTasks"
81             class="com.intellij.openapi.externalSystem.action.task.GroupTasksAction" text="Group Tasks">
82     </action>
83
84     <group id="ExternalSystemView.BaseProjectMenu">
85       <reference ref="ExternalSystem.OpenConfig"/>
86       <separator/>
87       <reference id="ExternalSystem.RefreshProject"/>
88       <reference id="ExternalSystem.DetachProject"/>
89
90     </group>
91
92     <group id="ExternalSystemView.ProjectMenu" popup="true">
93       <reference ref="ExternalSystemView.BaseProjectMenu"/>
94       <separator/>
95       <reference id="ExternalSystem.ToggleAutoImport"/>
96     </group>
97
98     <group id="ExternalSystemView.ActionsToolbar.LeftPanel">
99       <reference id="ExternalSystem.RefreshAllProjects"/>
100       <reference id="ExternalSystem.AttachProject"/>
101       <reference ref="ExternalSystem.DetachProject"/>
102       <!--<reference id="ExternalSystem.Run/>-->
103     </group>
104     <group id="ExternalSystemView.ActionsToolbar.CenterPanel">
105       <separator/>
106       <reference id="ExternalSystem.ExpandAll"/>
107       <reference id="ExternalSystem.CollapseAll"/>
108     </group>
109     <group id="ExternalSystemView.ActionsToolbar.RightPanel">
110     </group>
111
112     <group id="ExternalSystemView.TaskActivationGroup">
113       <reference id="ExternalSystem.BeforeSync"/>
114       <reference id="ExternalSystem.AfterSync"/>
115       <reference id="ExternalSystem.BeforeCompile"/>
116       <reference id="ExternalSystem.AfterCompile"/>
117       <reference id="ExternalSystem.BeforeRebuild"/>
118       <reference id="ExternalSystem.AfterRebuild"/>
119       <!--<reference id="ExternalSystem.BeforeRun"/>-->
120     </group>
121
122     <group id="ExternalSystemView.ActionsToolbar">
123       <reference ref="ExternalSystemView.ActionsToolbar.LeftPanel"/>
124       <separator/>
125       <reference ref="ExternalSystemView.ActionsToolbar.CenterPanel"/>
126       <separator/>
127       <reference ref="ExternalSystemView.ActionsToolbar.RightPanel"/>
128       <separator/>
129       <reference id="ExternalSystem.ShowSettings" order="last"/>
130     </group>
131
132     <group id="ExternalSystemView.TaskMenu" popup="true">
133       <reference ref="RunContextGroup"/>
134       <separator/>
135       <reference id="EditSource"/>
136       <separator/>
137       <reference ref="ExternalSystemView.TaskActivationGroup"/>
138       <separator/>
139       <reference id="ExternalSystem.AssignShortcut"/>
140     </group>
141
142     <group id="ExternalSystemView.RunConfigurationMenu" popup="true"  class="com.intellij.openapi.externalSystem.action.ExternalSystemRunConfigurationMenu">
143       <separator/>
144       <action id="ExternalSystem.EditRunConfiguration"
145               text="Edit Run Configuration..." icon="AllIcons.Actions.Edit"
146               class="com.intellij.openapi.externalSystem.action.EditExternalSystemRunConfigurationAction" />
147       <action id="ExternalSystem.RemoveRunConfiguration"
148               text="Remove Run Configuration" icon="AllIcons.General.Remove"
149               class="com.intellij.openapi.externalSystem.action.RemoveExternalSystemRunConfigurationAction" />
150       <separator/>
151       <reference ref="ExternalSystemView.TaskActivationGroup"/>
152       <separator/>
153       <reference id="ExternalSystem.AssignRunConfigurationShortcut"/>
154     </group>
155
156
157   </actions>
158 </component>