mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-28 01:07:49 +08:00
update Kotlin UI DSL links to V2
This commit is contained in:
parent
e4cba7ad55
commit
e729560293
@ -95,7 +95,7 @@ Additionally, explore IntelliJ Platform Explorer's [list of open-source plugins]
|
||||
|
||||
## 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).
|
||||
|
||||
## Handling Kotlin Code
|
||||
|
@ -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).
|
||||
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.
|
||||
>
|
||||
|
@ -9,7 +9,7 @@ Using those components in your plugins will ensure that your plugin looks and wo
|
||||
>
|
||||
{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)).
|
||||
>
|
||||
{type="note"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user