diff --git a/platform/platform-impl/api-dump-unreviewed.txt b/platform/platform-impl/api-dump-unreviewed.txt index 9e1430f8cd9b..964b7808a268 100644 --- a/platform/platform-impl/api-dump-unreviewed.txt +++ b/platform/platform-impl/api-dump-unreviewed.txt @@ -15497,11 +15497,7 @@ a:com.intellij.ui.layout.Cell - bf:link(java.lang.String,com.intellij.util.ui.UIUtil$ComponentStyle,kotlin.jvm.functions.Function0):com.intellij.ui.layout.CellBuilder - bs:link$default(com.intellij.ui.layout.Cell,java.lang.String,com.intellij.util.ui.UIUtil$ComponentStyle,kotlin.jvm.functions.Function0,I,java.lang.Object):com.intellij.ui.layout.CellBuilder - bf:textField(com.intellij.ui.layout.PropertyBinding,java.lang.Integer):com.intellij.ui.layout.CellBuilder -- bf:textField(kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function1,java.lang.Integer):com.intellij.ui.layout.CellBuilder -- bf:textField(kotlin.reflect.KMutableProperty0,java.lang.Integer):com.intellij.ui.layout.CellBuilder - bs:textField$default(com.intellij.ui.layout.Cell,com.intellij.ui.layout.PropertyBinding,java.lang.Integer,I,java.lang.Object):com.intellij.ui.layout.CellBuilder -- bs:textField$default(com.intellij.ui.layout.Cell,kotlin.jvm.functions.Function0,kotlin.jvm.functions.Function1,java.lang.Integer,I,java.lang.Object):com.intellij.ui.layout.CellBuilder -- bs:textField$default(com.intellij.ui.layout.Cell,kotlin.reflect.KMutableProperty0,java.lang.Integer,I,java.lang.Object):com.intellij.ui.layout.CellBuilder com.intellij.ui.layout.CellBuilder - a:comment(java.lang.String,I,Z):com.intellij.ui.layout.CellBuilder - bs:comment$default(com.intellij.ui.layout.CellBuilder,java.lang.String,I,Z,I,java.lang.Object):com.intellij.ui.layout.CellBuilder @@ -15518,7 +15514,6 @@ f:com.intellij.ui.layout.CellBuilder$DefaultImpls - bs:comment$default(com.intellij.ui.layout.CellBuilder,java.lang.String,I,Z,I,java.lang.Object):com.intellij.ui.layout.CellBuilder f:com.intellij.ui.layout.CellKt - sf:createPropertyBinding(kotlin.reflect.KMutableProperty0,java.lang.Class):com.intellij.ui.layout.PropertyBinding -- bsf:withTextBinding(com.intellij.ui.layout.CellBuilder,com.intellij.ui.layout.PropertyBinding):com.intellij.ui.layout.CellBuilder @:com.intellij.ui.layout.CellMarker - java.lang.annotation.Annotation e:com.intellij.ui.layout.GrowPolicy diff --git a/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt b/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt index 62dd6a5f8091..0556edf57437 100644 --- a/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt +++ b/platform/platform-impl/src/com/intellij/ui/layout/Cell.kt @@ -145,12 +145,6 @@ private fun CellBuilder.intApplyToComponent(task: T.() -> Un return also { task(component) } } -@ApiStatus.ScheduledForRemoval -@Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) -fun CellBuilder.withTextBinding(modelBinding: PropertyBinding): CellBuilder { - return withBindingInt(JTextComponent::getText, JTextComponent::setText, modelBinding) -} - // separate class to avoid row related methods in the `cell { } ` @CellMarker @ApiStatus.ScheduledForRemoval @@ -169,17 +163,6 @@ abstract class Cell : BaseBuilder { @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) val grow: CCFlags = CCFlags.grow - @ApiStatus.ScheduledForRemoval - @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) - @ApiStatus.Internal - fun label(@Label text: String, - style: UIUtil.ComponentStyle? = null, - fontColor: UIUtil.FontColor? = null, - bold: Boolean = false): CellBuilder { - val label = Label(text, style, fontColor, bold) - return component(label) - } - @ApiStatus.ScheduledForRemoval @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) fun label(@Label text: String, @@ -273,14 +256,6 @@ abstract class Cell : BaseBuilder { ) } - @ApiStatus.ScheduledForRemoval - @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) - fun textField(prop: KMutableProperty0, columns: Int? = null): CellBuilder = textFieldInt(prop.intToBinding(), columns) - - @ApiStatus.ScheduledForRemoval - @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) - fun textField(getter: () -> String, setter: (String) -> Unit, columns: Int? = null): CellBuilder = textFieldInt(PropertyBinding(getter, setter), columns) - @ApiStatus.ScheduledForRemoval @Deprecated("Use Kotlin UI DSL Version 2", level = DeprecationLevel.HIDDEN) fun textField(binding: PropertyBinding<@Nls String>, columns: Int? = null): CellBuilder {