Kill plugin logos
[idea/community.git] / plugins / ui-designer / src / META-INF / plugin.xml
1 <idea-plugin version="2">
2   <name>UI Designer</name>
3   <id>com.intellij.uiDesigner</id>
4   <vendor>JetBrains</vendor>
5   <resource-bundle>messages.UIDesignerBundle</resource-bundle>
6   <depends>com.intellij.java-i18n</depends>
7   <depends>com.intellij.properties</depends>
8
9   <extensionPoints>
10     <extensionPoint name="formInspectionTool"
11                     interface="com.intellij.uiDesigner.inspections.FormInspectionTool"/>
12   </extensionPoints>
13
14   <extensions defaultExtensionNs="com.intellij.uiDesigner">
15     <formInspectionTool implementation="com.intellij.uiDesigner.i18n.InvalidPropertyKeyFormInspection"/>
16     <formInspectionTool implementation="com.intellij.uiDesigner.i18n.I18nFormInspection"/>
17     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.Java15FormInspection"/>
18     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.DuplicateMnemonicInspection"/>
19     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.MissingMnemonicInspection"/>
20     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.NoLabelForInspection"/>
21     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.NoButtonGroupInspection"/>
22     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.NoScrollPaneInspection"/>
23     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.OneButtonGroupInspection"/>
24     <formInspectionTool implementation="com.intellij.uiDesigner.inspections.FormSpellCheckingInspection"/>
25   </extensions>
26
27   <extensions defaultExtensionNs="com.intellij">
28      <errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
29
30     <fileTypeFactory implementation="com.intellij.uiDesigner.FormFileTypeFactory"/>
31
32     <invalidPropertyKeyInspectionTool implementation="com.intellij.uiDesigner.i18n.InvalidPropertyKeyFormInspection"/>
33     <i18nInspectionTool implementation="com.intellij.uiDesigner.i18n.I18nFormInspection"/>
34     <java15InspectionTool implementation="com.intellij.uiDesigner.inspections.Java15FormInspection"/>
35
36     <projectConfigurable instance="com.intellij.uiDesigner.GuiDesignerConfigurable"/>
37
38     <favoriteNodeProvider implementation="com.intellij.uiDesigner.projectView.UIDesignerFavoriteNodeProvider"/>
39     <renameHandler implementation="com.intellij.uiDesigner.projectView.FormRenameHandler"/>
40     <implicitUsageProvider implementation="com.intellij.uiDesigner.binding.UIDesignerImplicitUsageProvider"/>
41     <runConfigurationExtension implementation="com.intellij.uiDesigner.snapShooter.SnapShooterConfigurationExtension"/>
42     <usageTypeProvider implementation="com.intellij.uiDesigner.binding.FormUsageTypeProvider"/>
43
44     <localInspection shortName="DuplicateMnemonic" bundle="messages.UIDesignerBundle" key="inspection.duplicate.mnemonics"
45                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
46                      implementationClass="com.intellij.uiDesigner.inspections.DuplicateMnemonicInspection"/>
47     <localInspection shortName="MissingMnemonic" bundle="messages.UIDesignerBundle" key="inspection.missing.mnemonics"
48                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
49                      implementationClass="com.intellij.uiDesigner.inspections.MissingMnemonicInspection"/>
50     <localInspection shortName="NoLabelFor" bundle="messages.UIDesignerBundle" key="inspection.no.label.for"
51                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
52                      implementationClass="com.intellij.uiDesigner.inspections.NoLabelForInspection"/>
53     <localInspection shortName="NoButtonGroup" bundle="messages.UIDesignerBundle" key="inspection.no.button.group"
54                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
55                      implementationClass="com.intellij.uiDesigner.inspections.NoButtonGroupInspection"/>
56     <localInspection shortName="OneButtonGroup" bundle="messages.UIDesignerBundle" key="inspection.one.button.group"
57                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
58                      implementationClass="com.intellij.uiDesigner.inspections.OneButtonGroupInspection"/>
59     <localInspection shortName="NoScrollPane" bundle="messages.UIDesignerBundle" key="inspection.no.scroll.pane"
60                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
61                      implementationClass="com.intellij.uiDesigner.inspections.NoScrollPaneInspection"/>
62     <localInspection shortName="BoundFieldAssignment" bundle="messages.UIDesignerBundle" key="inspection.bound.field.title"
63                      groupKey="form.inspections.group" enabledByDefault="true" level="WARNING"
64                      implementationClass="com.intellij.uiDesigner.inspections.BoundFieldAssignmentInspection"/>
65
66     <fileEditorProvider implementation="com.intellij.uiDesigner.editor.UIFormEditorProvider"/>
67
68     <applicationService serviceInterface="com.intellij.uiDesigner.Properties"
69                    serviceImplementation="com.intellij.uiDesigner.Properties"/>
70
71     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.HorzAlignProperty"
72                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.HorzAlignProperty"/>
73     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.VertAlignProperty"
74                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.VertAlignProperty"/>
75     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.VSizePolicyProperty"
76                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.VSizePolicyProperty"/>
77     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.HSizePolicyProperty"
78                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.HSizePolicyProperty"/>
79     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.MarginProperty"
80                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.MarginProperty"/>
81     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.HGapProperty"
82                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.HGapProperty"/>
83     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.VGapProperty"
84                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.VGapProperty"/>
85     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.SameSizeHorizontallyProperty"
86                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.SameSizeHorizontallyProperty"/>
87     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.SameSizeVerticallyProperty"
88                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.SameSizeVerticallyProperty"/>
89     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.IndentProperty"
90                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.IndentProperty"/>
91     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.UseParentLayoutProperty"
92                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.UseParentLayoutProperty"/>
93     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.MinimumSizeProperty"
94                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.MinimumSizeProperty"/>
95     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.PreferredSizeProperty"
96                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.PreferredSizeProperty"/>
97     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.MaximumSizeProperty"
98                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.MaximumSizeProperty"/>
99     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.CustomCreateProperty"
100                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.CustomCreateProperty"/>
101     <projectService serviceInterface="com.intellij.uiDesigner.propertyInspector.properties.ClientPropertiesProperty"
102                     serviceImplementation="com.intellij.uiDesigner.propertyInspector.properties.ClientPropertiesProperty"/>
103
104     <moduleService serviceInterface="com.intellij.uiDesigner.StringDescriptorManager"
105                    serviceImplementation="com.intellij.uiDesigner.StringDescriptorManager"/>
106
107     <projectService serviceInterface="com.intellij.uiDesigner.LoaderFactory"
108                serviceImplementation="com.intellij.uiDesigner.LoaderFactory"/>
109
110     <projectService serviceInterface="com.intellij.uiDesigner.GuiDesignerConfiguration"
111                serviceImplementation="com.intellij.uiDesigner.GuiDesignerConfiguration"/>
112     <annotator language="JAVA" implementationClass="com.intellij.uiDesigner.binding.FormClassAnnotator"/>
113
114     <cacheBuilder fileType="GUI_DESIGNER_FORM" wordsScannerClass="com.intellij.uiDesigner.binding.FormWordsScanner"/>
115
116     <referencesSearch implementation="com.intellij.uiDesigner.binding.FormReferencesSearcher"/>
117
118     <saveFileAsTemplateHandler implementation="com.intellij.uiDesigner.fileTemplate.SaveFormAsTemplateHandler"/>
119     <createFromTemplateHandler implementation="com.intellij.uiDesigner.fileTemplate.CreateFormFromTemplateHandler"/>
120
121     <automaticRenamerFactory implementation="com.intellij.uiDesigner.binding.FormsRenamerFactory"/>
122
123     <treeStructureProvider implementation="com.intellij.uiDesigner.projectView.FormMergerTreeStructureProvider"/>
124
125     <fileBasedIndex implementation="com.intellij.uiDesigner.binding.FormClassIndex"/>
126
127     <compiler implementation="com.intellij.uiDesigner.make.Form2ByteCodeCompiler"/>
128     <compiler implementation="com.intellij.uiDesigner.make.Form2SourceCompiler"/>
129     <compileServer.plugin classpath="jps/ui-designer-jps-plugin.jar"/>
130
131     <psi.referenceContributor language="TEXT" implementation="com.intellij.uiDesigner.binding.FormReferenceContributor"/>
132
133     <refactoring.elementListenerProvider implementation="com.intellij.uiDesigner.palette.PaletteRefactoringListenerProvider"/>
134     <refactoring.moveHandler implementation="com.intellij.uiDesigner.projectView.FormMoveProvider"/>
135     <paletteItemProvider implementation="com.intellij.uiDesigner.palette.UIDesignerPaletteProvider"/>
136
137     <lang.foldingBuilder language="JAVA" implementationClass="com.intellij.uiDesigner.binding.GeneratedCodeFoldingBuilder"/>
138     <gotoRelatedProvider implementation="com.intellij.uiDesigner.binding.FormRelatedFilesProvider"/>
139   </extensions>
140
141   <project-components>
142     <component>
143       <implementation-class>com.intellij.uiDesigner.palette.Palette</implementation-class>
144     </component>
145     <component>
146       <implementation-class>com.intellij.uiDesigner.propertyInspector.UIDesignerToolWindowManager</implementation-class>
147       <headless-implementation-class></headless-implementation-class>
148       <skipForDefaultProject/>
149     </component>
150     <component>
151       <implementation-class>com.intellij.uiDesigner.clientProperties.ClientPropertiesManager</implementation-class>
152     </component>
153   </project-components>
154
155   <actions>
156     <group id="GuiDesigner.MainToolbarActions">
157       <separator/>
158       <action id="GuiDesigner.PreviewForm" class="com.intellij.uiDesigner.actions.PreviewFormAction"
159               icon="AllIcons.Actions.Preview"/>
160       <action id="GuiDesigner.DataBindingWizard" class="com.intellij.uiDesigner.actions.DataBindingWizardAction"
161               icon="UIDesignerIcons.DataBindingWizard"/>
162       <action id="GuiDesigner.ReloadCustomComponents" class="com.intellij.uiDesigner.actions.ReloadCustomComponentsAction"
163               icon="AllIcons.Actions.Refresh"/>
164       <action id="GuiDesigner.ChooseLocale" class="com.intellij.uiDesigner.actions.ChooseLocaleAction"/>
165       <separator/>
166
167       <add-to-group anchor="before" group-id="MainToolBar" relative-to-action="HelpTopics"/>
168     </group>
169
170     <group id="GuiDesigner.EditorPopupMenu">
171       <reference ref="GuiDesigner.PreviewForm"/>
172       <reference ref="GuiDesigner.DataBindingWizard"/>
173       <separator/>
174       <reference ref="$Cut"/>
175       <reference ref="$Copy"/>
176       <reference ref="$Paste"/>
177       <separator/>
178       <action id="GuiDesigner.Pack" class="com.intellij.uiDesigner.actions.PackAction"/>
179       <action id="GuiDesigner.ShowGrid" class="com.intellij.uiDesigner.actions.ShowGridAction"/>
180       <action id="GuiDesigner.ShowComponentTags" class="com.intellij.uiDesigner.actions.ShowComponentTagsAction"/>
181       <separator/>
182       <action id="GuiDesigner.CreateComponent" class="com.intellij.uiDesigner.actions.CreateComponentAction"
183               use-shortcut-of="Generate"/>
184       <action id="GuiDesigner.AddTab" class="com.intellij.uiDesigner.actions.AddTabAction"/>
185       <separator/>
186       <reference ref="EditSource"/>
187       <action id="GuiDesigner.ExpandSelection" class="com.intellij.uiDesigner.actions.ExpandSelectionAction" use-shortcut-of="EditorSelectWord"/>
188       <action id="GuiDesigner.ShrinkSelection" class="com.intellij.uiDesigner.actions.ShrinkSelectionAction" use-shortcut-of="EditorUnSelectWord"/>
189       <action id="GuiDesigner.IncreaseIndent" class="com.intellij.uiDesigner.actions.IncreaseIndentAction" use-shortcut-of="EditorIndentSelection"/>
190       <action id="GuiDesigner.DecreaseIndent" class="com.intellij.uiDesigner.actions.DecreaseIndentAction" use-shortcut-of="EditorUnindentSelection"/>
191       <action id="GuiDesigner.GroupButtons" class="com.intellij.uiDesigner.actions.GroupButtonsAction"/>
192       <action id="GuiDesigner.UngroupButtons" class="com.intellij.uiDesigner.actions.UngroupButtonsAction"/>
193       <action id="GuiDesigner.Duplicate" class="com.intellij.uiDesigner.actions.DuplicateComponentsAction"
194               use-shortcut-of="EditorDuplicate"/>
195       <action id="GuiDesigner.Morph" class="com.intellij.uiDesigner.actions.MorphAction"/>
196       <action id="GuiDesigner.CreateListener" class="com.intellij.uiDesigner.actions.CreateListenerAction"
197               use-shortcut-of="OverrideMethods"/>
198       <action id="GuiDesigner.GoToListener" class="com.intellij.uiDesigner.actions.NavigateToListenerAction"
199               use-shortcut-of="GotoImplementation"/>
200       <separator/>
201       <action id="GuiDesigner.SurroundPopup" class="com.intellij.uiDesigner.actions.SurroundPopupAction"
202               use-shortcut-of="SurroundWith"/>
203       <action id="GuiDesigner.Flatten" class="com.intellij.uiDesigner.actions.FlattenAction"/>
204       <separator/>
205       <reference ref="VersionControlsGroup"/>
206       <separator/>
207       <reference ref="AddToFavorites"/>
208       <reference ref="MoveToChangeList"/>
209       <separator/>
210     </group>
211
212     <group id="GuiDesigner.ComponentTreePopupMenu">
213       <reference ref="EditSource"/>
214       <reference ref="GuiDesigner.ExpandSelection"/>
215       <reference ref="GuiDesigner.ShrinkSelection"/>
216       <separator/>
217       <reference ref="$Cut"/>
218       <reference ref="$Copy"/>
219       <reference ref="$Paste"/>
220       <separator/>
221       <reference ref="GuiDesigner.AddTab"/>
222       <separator/>
223       <reference ref="GuiDesigner.Morph"/>
224       <reference ref="GuiDesigner.CreateListener"/>
225       <reference ref="GuiDesigner.GoToListener"/>
226       <separator/>
227       <reference ref="GuiDesigner.SurroundPopup"/>
228       <reference ref="GuiDesigner.Flatten"/>
229     </group>
230
231     <group id="GuiDesigner.PropertyInspectorPopupMenu">
232       <action id="GuiDesigner.QuickJavadoc" class="com.intellij.uiDesigner.actions.ShowJavadocAction" use-shortcut-of="QuickJavaDoc"/>
233       <reference ref="EditSource"/>
234       <action id="GuiDesigner.ResetValue" class="com.intellij.uiDesigner.actions.ResetValueAction"/>
235     </group>
236
237     <group id="GuiDesigner.PaletteComponentPopupMenu">
238       <action id="GuiDesigner.AddComponent" class="com.intellij.uiDesigner.palette.AddComponentAction">
239         <add-to-group group-id="ProjectViewPopupMenu" anchor="after" relative-to-action="AddToFavorites"/>
240       </action>
241       <action id="GuiDesigner.EditComponent" class="com.intellij.uiDesigner.palette.EditComponentAction">
242         <keyboard-shortcut first-keystroke="F2" keymap="$default"/>
243       </action>
244       <action id="GuiDesigner.DeleteComponent" class="com.intellij.uiDesigner.palette.DeleteComponentAction"
245               use-shortcut-of="$Delete"/>
246       <action id="GuiDesigner.AddGroup" class="com.intellij.uiDesigner.palette.AddGroupAction"/>
247     </group>
248
249     <group id="GuiDesigner.PaletteGroupPopupMenu">
250       <reference ref="GuiDesigner.AddComponent"/>
251       <reference ref="GuiDesigner.AddGroup"/>
252       <action id="GuiDesigner.EditGroup" class="com.intellij.uiDesigner.palette.EditGroupAction">
253         <keyboard-shortcut first-keystroke="F2" keymap="$default"/>
254       </action>
255       <action id="GuiDesigner.DeleteGroup" class="com.intellij.uiDesigner.palette.DeleteGroupAction"
256               use-shortcut-of="$Delete"/>
257     </group>
258
259     <action id="GuiDesigner.GenerateMain" class="com.intellij.uiDesigner.actions.GenerateMainAction">
260       <add-to-group anchor="after" group-id="GenerateGroup" relative-to-action="GenerateSuperMethodCall"/>
261     </action>
262
263     <group id="GuiDesigner.NewActions">
264       <separator/>
265       <action id="NewForm" class="com.intellij.uiDesigner.actions.CreateFormAction"/>
266       <action id="NewDialog" class="com.intellij.uiDesigner.actions.CreateDialogAction"/>
267       <action id="NewFormSnapshot" class="com.intellij.uiDesigner.snapShooter.CreateSnapShotAction"/>
268
269       <add-to-group anchor="after" group-id="NewGroup" relative-to-action="NewFromTemplate"/>
270     </group>
271   </actions>
272 </idea-plugin>