DevKit: resources, icons, DevKitBundle
@@ -3,9 +3,10 @@
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="org.jetbrains.idea.devkit" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/testSources" isTestSource="true" packagePrefix="org.jetbrains.idea.devkit" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" generated="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/resources" type="java-resource" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
|
||||
@@ -28,6 +28,6 @@ public class DevkitIcons {
|
||||
return IconLoader.getIcon(path, DevkitIcons.class);
|
||||
}
|
||||
|
||||
public static final Icon Add_sdk = load("/add_sdk.png"); // 16x16
|
||||
public static final Icon Sdk_closed = load("/sdk_closed.png"); // 16x16
|
||||
public static final Icon Add_sdk = load("/icons/add_sdk.png"); // 16x16
|
||||
public static final Icon Sdk_closed = load("/icons/sdk_closed.png"); // 16x16
|
||||
}
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
<depends>com.intellij.properties</depends>
|
||||
|
||||
<resource-bundle>org.jetbrains.idea.devkit.DevKitBundle</resource-bundle>
|
||||
<resource-bundle>DevKitBundle</resource-bundle>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
|
||||
@@ -56,52 +56,52 @@
|
||||
implementationClass="org.jetbrains.idea.devkit.references.extensions.ExtensionPointDocumentationProvider"/>
|
||||
|
||||
<localInspection language="XML" shortName="PluginXmlValidity" displayName="Plugin.xml Validity"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PluginXmlDomInspection"/>
|
||||
<localInspection language="JAVA" shortName="ComponentNotRegistered" bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
<localInspection language="JAVA" shortName="ComponentNotRegistered" bundle="DevKitBundle"
|
||||
key="inspections.component.not.registered.name" groupKey="inspections.group.name" enabledByDefault="true"
|
||||
level="WARNING" implementationClass="org.jetbrains.idea.devkit.inspections.ComponentNotRegisteredInspection"/>
|
||||
<localInspection language="JAVA" shortName="InspectionDescriptionNotFoundInspection" displayName="Inspection Description Checker"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.InspectionDescriptionNotFoundInspection"/>
|
||||
<localInspection language="JAVA" shortName="InspectionUsingGrayColors" displayName="Using new Color(a,a,a)"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.UseGrayInspection"/>
|
||||
<localInspection language="JAVA" shortName="IntentionDescriptionNotFoundInspection" displayName="Intention Description Checker"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.IntentionDescriptionNotFoundInspection"/>
|
||||
<localInspection language="JAVA"
|
||||
key="inspections.component.postfix.template.not.found.description.name"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PostfixTemplateDescriptionNotFoundInspection"/>
|
||||
<localInspection shortName="ComponentRegistrationProblems"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle" key="inspections.registration.problems.name"
|
||||
bundle="DevKitBundle" key="inspections.registration.problems.name"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.RegistrationProblemsInspection"/>
|
||||
<localInspection language="JAVA" shortName="DialogTitleCapitalization"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
displayName="Incorrect dialog title capitalization"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.TitleCapitalizationInspection"/>
|
||||
<localInspection language="XML" shortName="InspectionMappingConsistency"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
displayName="<inspection> tag consistency"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.InspectionMappingConsistencyInspection"/>
|
||||
<localInspection language="XML" shortName="ExtensionPointBeanClass"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
displayName="<extensionPoint> beanClass specification"
|
||||
enabledByDefault="true"
|
||||
@@ -109,42 +109,42 @@
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.ExtensionPointBeanClassInspection"/>
|
||||
|
||||
<localInspection language="JAVA" shortName="UndesirableClassUsage" displayName="Undesirable class usage"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UndesirableClassUsageInspection"/>
|
||||
<localInspection language="JAVA" shortName="FileEqualsUsage" displayName="File.equals() usage"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.FileEqualsUsageInspection"/>
|
||||
<localInspection language="JAVA" shortName="GtkPreferredJComboBoxRenderer" displayName="Preferred JComboBox renderer"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.GtkPreferredJComboBoxRendererInspection"/>
|
||||
<localInspection language="JAVA" shortName="UnsafeVfsRecursion" displayName="Unsafe VFS recursion"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeVfsRecursionInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseJBColor" displayName="Use Darcula aware JBColor"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseJBColorInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseCouple" displayName="Use Couple instead of Pair"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="false" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseCoupleInspection"/>
|
||||
<localInspection language="JAVA" shortName="DontUsePairConstructor" displayName="Don't use constructor of Pair class"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.DontUseNewPairInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseVirtualFileEquals" displayName="Use VirtualFile.equals"
|
||||
bundle="org.jetbrains.idea.devkit.DevKitBundle"
|
||||
bundle="DevKitBundle"
|
||||
groupKey="inspections.group.name"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseVirtualFileEqualsInspection"/>
|
||||
@@ -173,7 +173,7 @@
|
||||
<implementation-class>org.jetbrains.idea.devkit.testAssistant.TestDataHighlightingPassFactory</implementation-class>
|
||||
</component>
|
||||
</project-components>
|
||||
|
||||
|
||||
<module-components>
|
||||
<component>
|
||||
<implementation-class>org.jetbrains.idea.devkit.build.PluginBuildConfiguration</implementation-class>
|
||||
@@ -226,7 +226,7 @@
|
||||
id="GenerateDomModel"/>
|
||||
|
||||
<add-to-group group-id="Internal" anchor="last"/>
|
||||
|
||||
|
||||
</group>
|
||||
<action id="TestData.Navigate"
|
||||
class="org.jetbrains.idea.devkit.testAssistant.NavigateToTestDataAction"
|
||||
|
||||
|
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
|
Before Width: | Height: | Size: 903 B After Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 298 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -26,7 +26,7 @@ public class DevKitBundle extends AbstractBundle {
|
||||
return ourInstance.getMessage(key, params);
|
||||
}
|
||||
|
||||
@NonNls private static final String BUNDLE = "org.jetbrains.idea.devkit.DevKitBundle";
|
||||
@NonNls private static final String BUNDLE = "DevKitBundle";
|
||||
private static final DevKitBundle ourInstance = new DevKitBundle();
|
||||
|
||||
private DevKitBundle() {
|
||||
|
||||