Add icon for multiplatform projects, update JS icon

#KT-19824 Fixed
This commit is contained in:
Dmitry Jemerov
2017-11-17 12:31:01 +01:00
parent 20e1caaab1
commit 64a8008a8a
10 changed files with 4 additions and 3 deletions
@@ -55,4 +55,5 @@ public interface KotlinIcons {
Icon LAUNCH = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_launch_configuration.png");
Icon JS = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_js.png");
Icon MPP = IconLoader.getIcon("/org/jetbrains/kotlin/idea/icons/kotlin_multiplatform_project.png");
}
@@ -138,7 +138,7 @@ open class GradleKotlinJSFrameworkSupportProvider(frameworkTypeId: String = "KOT
}
open class GradleKotlinMPPCommonFrameworkSupportProvider :
GradleKotlinFrameworkSupportProvider("KOTLIN_MPP_COMMON", "Kotlin (Multiplatform Common - Experimental)", KotlinIcons.SMALL_LOGO) {
GradleKotlinFrameworkSupportProvider("KOTLIN_MPP_COMMON", "Kotlin (Multiplatform Common - Experimental)", KotlinIcons.MPP) {
override fun getPluginId() = "kotlin-platform-common"
override fun getDependencies(sdk: Sdk?) = listOf(MAVEN_COMMON_STDLIB_ID)
@@ -38,7 +38,7 @@ class KotlinGradleMultiplatformModuleBuilder : GradleModuleBuilder() {
override fun getBuilderId() = "kotlin.gradle.multiplatform"
override fun getNodeIcon() = KotlinIcons.SMALL_LOGO
override fun getNodeIcon() = KotlinIcons.MPP
override fun getPresentableName() = "Kotlin (Multiplatform - Experimental)"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 934 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 424 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 739 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 B

@@ -34,5 +34,5 @@ object CommonLibraryType : LibraryType<DummyLibraryProperties>(CommonLibraryKind
contextDirectory: VirtualFile?,
project: Project): NewLibraryConfiguration? = null
override fun getIcon(properties: DummyLibraryProperties?) = KotlinIcons.SMALL_LOGO
override fun getIcon(properties: DummyLibraryProperties?) = KotlinIcons.MPP
}