mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[docs] update IntelliJ UI Platform Guidelines (jetbrains.design) links
GitOrigin-RevId: 992c0ca3d01847a97948c0b197c4afdf6de499c1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7acb200c88
commit
5b2acbd439
@@ -1 +1 @@
|
||||
deprecated: showViewer.png; to be removed (use expandable text field instead, see https://jetbrains.design/intellij/controls/built_in_button/)
|
||||
deprecated: showViewer.png; to be removed (use expandable text field instead, see https://plugins.jetbrains.com/docs/intellij/built-in-button.html)
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.ui;
|
||||
|
||||
import com.intellij.openapi.util.NlsContexts;
|
||||
@@ -14,7 +14,7 @@ import javax.swing.*;
|
||||
*
|
||||
* @author Konstantin Bulenkov
|
||||
* @see DialogWrapper#doValidate()
|
||||
* @see <a href="https://jetbrains.design/intellij/principles/validation_errors/">Validation errors guidelines</a>
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/validation-errors.html">Validation errors guidelines</a>
|
||||
*/
|
||||
public final class ValidationInfo {
|
||||
/**
|
||||
|
||||
@@ -397,7 +397,7 @@ public abstract class DialogWrapper {
|
||||
*
|
||||
* @return {@code null} if everything is OK or validation descriptor
|
||||
*
|
||||
* @see <a href="https://jetbrains.design/intellij/principles/validation_errors/">Validation errors guidelines</a>
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/validation-errors.html">Validation errors guidelines</a>
|
||||
*/
|
||||
protected @Nullable ValidationInfo doValidate() {
|
||||
return null;
|
||||
@@ -413,7 +413,7 @@ public abstract class DialogWrapper {
|
||||
* @return {@code List<ValidationInfo>} of invalid fields. List
|
||||
* is empty if no errors found.
|
||||
*
|
||||
* @see <a href="https://jetbrains.design/intellij/principles/validation_errors/">Validation errors guidelines</a>
|
||||
* @see <a href="https://plugins.jetbrains.com/docs/intellij/validation-errors.html">Validation errors guidelines</a>
|
||||
*/
|
||||
protected @NotNull List<ValidationInfo> doValidateAll() {
|
||||
List<ValidationInfo> result = new ArrayList<>();
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.ui;
|
||||
|
||||
import com.intellij.openapi.fileChooser.FileChooserDescriptor;
|
||||
@@ -24,7 +10,7 @@ import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
/**
|
||||
* @deprecated please use ComboBox with browse extension, see <a href="https://jetbrains.design/intellij/controls/built_in_button/#browse">UI guidelines</a>
|
||||
* @deprecated please use ComboBox with browse extension, see <a href="https://plugins.jetbrains.com/docs/intellij/built-in-button.html#browse">UI guidelines</a>
|
||||
* for details
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -85,7 +85,7 @@ private class LayoutNameValidator : InputValidator {
|
||||
isAlreadyExisting = inputString in manager.getLayoutNames()
|
||||
}
|
||||
|
||||
// According to the validation guidelines, https://jetbrains.design/intellij/principles/validation_errors/
|
||||
// According to the validation guidelines, https://plugins.jetbrains.com/docs/intellij/validation-errors.html
|
||||
// we just disable the OK button if the field is empty,
|
||||
// pop up an error message right away when the input is too long (and also disable the button),
|
||||
// and pop up an error message when the OK button is pressed if the layout already exists.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.internal.ui.uiDslShowcase
|
||||
|
||||
import com.intellij.openapi.ui.DialogPanel
|
||||
@@ -31,7 +31,7 @@ fun demoComponentLabels(): DialogPanel {
|
||||
textField()
|
||||
}
|
||||
row {
|
||||
comment("According to <a href='https://jetbrains.design/intellij/principles/layout/#checkboxes-and-radio-buttons'>UI Guidelines</a> " +
|
||||
comment("According to <a href='https://plugins.jetbrains.com/docs/intellij/layout.html#checkboxes-and-radio-buttons'>UI Guidelines</a> " +
|
||||
"space after labels is increased if CheckBox/RadioButton is used")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ internal class PanelBuilder(val rows: List<RowImpl>, private val dialogPanelConf
|
||||
}
|
||||
|
||||
/**
|
||||
* According to https://jetbrains.design/intellij/principles/layout/#checkboxes-and-radio-buttons
|
||||
* According to https://plugins.jetbrains.com/docs/intellij/layout.html#checkboxes-and-radio-buttons
|
||||
* space between label and CheckBox/RadioButton should be increased
|
||||
*/
|
||||
private fun isLabelGap(cellAfterLabel: CellBaseImpl<*>?): Boolean {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.util;
|
||||
|
||||
import org.jetbrains.annotations.Nls;
|
||||
@@ -7,7 +7,7 @@ import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* See the <a href="https://jetbrains.design/intellij/">IntelliJ Platform UI Guidelines</a>.
|
||||
* See the <a href="https://plugins.jetbrains.com/docs/intellij/capitalization.html">IntelliJ Platform UI Guidelines</a>.
|
||||
*/
|
||||
public final class NlsContexts {
|
||||
/**
|
||||
|
||||
@@ -223,7 +223,7 @@ public class AllIcons {
|
||||
/** 16x16 */ public static final @NotNull Icon WordsHovered = load("actions/wordsHovered.svg", 1488302022, 0);
|
||||
/** 16x16 */ public static final @NotNull Icon WordsSelected = load("actions/wordsSelected.svg", 128086410, 0);
|
||||
|
||||
/** @deprecated to be removed (use expandable text field instead, see https://jetbrains.design/intellij/controls/built_in_button/) */
|
||||
/** @deprecated to be removed (use expandable text field instead, see https://plugins.jetbrains.com/docs/intellij/built-in-button.html) */
|
||||
@SuppressWarnings("unused")
|
||||
@Deprecated
|
||||
@ScheduledForRemoval
|
||||
|
||||
@@ -9,7 +9,7 @@ The first sentence must be in a dedicated paragraph separated from the rest of t
|
||||
Make sure the description doesn’t just repeat the inspection title.
|
||||
</p>
|
||||
<p>
|
||||
See https://jetbrains.design/intellij/text/inspections/#descriptions for more information.
|
||||
See https://plugins.jetbrains.com/docs/intellij/inspections.html#descriptions for more information.
|
||||
</p>
|
||||
<p>
|
||||
Embed code snippets:
|
||||
|
||||
@@ -10,7 +10,7 @@ Reports text capitalization problems in <code>plugin.xml</code>.
|
||||
<li>extension point properties annotated with <code>org.jetbrains.annotations.Nls</code> specifying required <code>capitalization</code></li>
|
||||
</ul>
|
||||
<p>
|
||||
Please see <a href="https://jetbrains.design/intellij/text/capitalization/">Capitalization</a> in IntelliJ Platform UI Guidelines for more
|
||||
Please see <a href="https://plugins.jetbrains.com/docs/intellij/capitalization.html">Capitalization</a> in IntelliJ Platform UI Guidelines for more
|
||||
information.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user