update Kotlin UI DSL links to V2

This commit is contained in:
Karol Lewandowski 2022-01-28 14:35:06 +01:00
parent e4cba7ad55
commit e729560293
3 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ Additionally, explore IntelliJ Platform Explorer's [list of open-source plugins]
## UI in Kotlin ## UI in Kotlin
The best way to create user interfaces with Kotlin is to use a [type safe DSL](kotlin_ui_dsl.md) for building forms. The best way to create user interfaces with Kotlin is to use a [type safe DSL](kotlin_ui_dsl_version_2.md) for building forms.
Using a GUI designer with Kotlin is currently [not supported](https://youtrack.jetbrains.com/issue/KTIJ-791). Using a GUI designer with Kotlin is currently [not supported](https://youtrack.jetbrains.com/issue/KTIJ-791).
## Handling Kotlin Code ## Handling Kotlin Code

View File

@ -35,7 +35,7 @@ Optionally:
The `DialogWrapper` class is often used together with [GUI Designer forms](https://www.jetbrains.com/help/idea/gui-designer-basics.html). The `DialogWrapper` class is often used together with [GUI Designer forms](https://www.jetbrains.com/help/idea/gui-designer-basics.html).
In this case, bind a GUI Designer form to the class extending `DialogWrapper`, bind the top-level panel of the form to a field and return that field from the `createCenterPanel()` method. In this case, bind a GUI Designer form to the class extending `DialogWrapper`, bind the top-level panel of the form to a field and return that field from the `createCenterPanel()` method.
When using Kotlin, use [Kotlin UI DSL](kotlin_ui_dsl.md) to provide the dialog's contents. When using Kotlin, use [Kotlin UI DSL](kotlin_ui_dsl_version_2.md) to provide the dialog's contents.
> See [Layout](https://jetbrains.design/intellij/principles/layout) topic in IntelliJ Platform UI Guidelines for recommendations on arranging UI controls in dialogs. > See [Layout](https://jetbrains.design/intellij/principles/layout) topic in IntelliJ Platform UI Guidelines for recommendations on arranging UI controls in dialogs.
> >

View File

@ -9,7 +9,7 @@ Using those components in your plugins will ensure that your plugin looks and wo
> >
{type="tip"} {type="tip"}
> The recommended way of building UIs on the IntelliJ Platform (2019.2 and later) is using [Kotlin UI DSL](kotlin_ui_dsl.md). > The recommended way of building UIs on the IntelliJ Platform (2021.3 and later) is using [Kotlin UI DSL](kotlin_ui_dsl_version_2.md).
> Using GUI designer with Kotlin is currently not supported ([Issue](https://youtrack.jetbrains.com/issue/KTIJ-791)). > Using GUI designer with Kotlin is currently not supported ([Issue](https://youtrack.jetbrains.com/issue/KTIJ-791)).
> >
{type="note"} {type="note"}