mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[project] deprecating the unused //welcome-screen app. info element; dropping corresponding artwork
GitOrigin-RevId: 348ec027d82f8d98c3b99f69f7fbae95fe0f883b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
034577d3fc
commit
dd69ab1be1
@@ -10,8 +10,6 @@
|
||||
<essential-plugin>com.intellij.java</essential-plugin>
|
||||
<essential-plugin>com.intellij.java.ide</essential-plugin>
|
||||
|
||||
<welcome-screen logo-url="/Logo_welcomeScreen_CE.png"/>
|
||||
|
||||
<editor background-url="/idea_logo_welcome.png"/>
|
||||
|
||||
<plugins url="https://plugins.jetbrains.com/"
|
||||
|
||||
@@ -42,6 +42,9 @@ public abstract class ApplicationInfoEx extends ApplicationInfo {
|
||||
|
||||
public abstract String getToolWindowIconUrl();
|
||||
|
||||
/** @deprecated please use {@link #getApplicationSvgIconUrl()} instead. */
|
||||
@Deprecated
|
||||
@ApiStatus.ScheduledForRemoval
|
||||
public abstract @Nullable String getWelcomeScreenLogoUrl();
|
||||
|
||||
public abstract boolean showLicenseeInfo();
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.4 KiB |
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.wm.impl.welcomeScreen;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
@@ -85,7 +85,7 @@ public final class NewWelcomeScreen extends JPanel implements WelcomeScreen {
|
||||
private static JPanel createHeaderPanel() {
|
||||
JPanel header = new JPanel(new BorderLayout());
|
||||
JLabel welcome = new JLabel(IdeBundle.message("label.welcome.to.0", ApplicationNamesInfo.getInstance().getFullProductName()),
|
||||
IconLoader.getIcon(ApplicationInfoEx.getInstanceEx().getWelcomeScreenLogoUrl(), NewWelcomeScreen.class.getClassLoader()),
|
||||
IconLoader.getIcon(ApplicationInfoEx.getInstanceEx().getApplicationSvgIconUrl(), NewWelcomeScreen.class.getClassLoader()),
|
||||
SwingConstants.LEFT);
|
||||
welcome.setBorder(new EmptyBorder(10, 15, 10, 15));
|
||||
welcome.setFont(welcome.getFont().deriveFont((float) 32));
|
||||
|
||||
@@ -119,13 +119,10 @@ public final class WelcomeScreenComponentFactory {
|
||||
|
||||
NonOpaquePanel panel = new NonOpaquePanel(new BorderLayout());
|
||||
|
||||
String welcomeScreenLogoUrl = appInfo.getWelcomeScreenLogoUrl();
|
||||
if (welcomeScreenLogoUrl != null) {
|
||||
JLabel logo = new JLabel(IconLoader.getIcon(welcomeScreenLogoUrl, WelcomeScreenComponentFactory.class.getClassLoader()));
|
||||
logo.setBorder(JBUI.Borders.empty(30, 0, 10, 0));
|
||||
logo.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
panel.add(logo, BorderLayout.NORTH);
|
||||
}
|
||||
JLabel logo = new JLabel(IconLoader.getIcon(appInfo.getApplicationSvgIconUrl(), WelcomeScreenComponentFactory.class.getClassLoader()));
|
||||
logo.setBorder(JBUI.Borders.empty(30, 0, 10, 0));
|
||||
logo.setHorizontalAlignment(SwingConstants.CENTER);
|
||||
panel.add(logo, BorderLayout.NORTH);
|
||||
|
||||
JLabel appName = new JLabel(getAppName());
|
||||
appName.setForeground(JBColor.foreground());
|
||||
|
||||
@@ -15,7 +15,14 @@
|
||||
<xs:element type="licenseeType" name="licensee" minOccurs="0"/>
|
||||
<xs:element type="namesType" name="names"/>
|
||||
<xs:element type="essentialPluginType" name="essential-plugin" minOccurs="0" maxOccurs="unbounded"/>
|
||||
<xs:element type="welcome-screenType" name="welcome-screen"/>
|
||||
<xs:element type="welcome-screenType" name="welcome-screen" minOccurs="0">
|
||||
<xs:annotation>
|
||||
<xs:documentation>
|
||||
Obsolete: use '//icon@svg' attribute instead ('ApplicationInfoEx#getApplicationSvgIconUrl').
|
||||
</xs:documentation>
|
||||
<xs:documentation>deprecated</xs:documentation>
|
||||
</xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element type="welcome-wizardType" name="welcome-wizard" minOccurs="0"/>
|
||||
<xs:element type="pluginsPageType" name="plugins-page" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:annotation>
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
<logo url="/idea_logo.png"/>
|
||||
<about url="/idea_about.png"/>
|
||||
<names product="IDEA" fullname="IntelliJ IDEA"/>
|
||||
|
||||
<welcome-screen logo-url="/Logo_welcomeScreen.png"/>
|
||||
|
||||
<update-urls check="http://www.jetbrains.com/updates/update.xml"
|
||||
download="http://www.jetbrains.com/idea/download/"/>
|
||||
<update-urls check="https://www.jetbrains.com/updates/update.xml"
|
||||
download="https://www.jetbrains.com/idea/download/"/>
|
||||
</component>
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
<icon ico="idea_CE.ico" svg="/idea-ce.svg" svg-small="/idea-ce_16.svg"/>
|
||||
<names product="IDEA" fullname="IntelliJ IDEA"/>
|
||||
|
||||
<welcome-screen logo-url="/Logo_welcomeScreen.png"/>
|
||||
|
||||
<plugins url="https://plugins.jetbrains.com/"/>
|
||||
<update-urls check="https://www.jetbrains.com/updates/updates.xml"
|
||||
patches="https://download.jetbrains.com/idea/"/>
|
||||
|
||||
@@ -714,9 +714,6 @@ public class AllIcons {
|
||||
/** 16x16 */ public static final @NotNull Icon Linux = load("linux/linux.svg", 1537000687, 2);
|
||||
}
|
||||
|
||||
/** 80x80 */ public static final @NotNull Icon Logo_welcomeScreen = load("Logo_welcomeScreen.png", 0, 1);
|
||||
/** 80x80 */ public static final @NotNull Icon Logo_welcomeScreen_CE = load("Logo_welcomeScreen_CE.png", 0, 1);
|
||||
|
||||
public static final class Mac {
|
||||
/** 55x55 */ public static final @NotNull Icon AppIconOk512 = load("mac/appIconOk512.png", 0, 0);
|
||||
|
||||
|
||||
@@ -13,8 +13,6 @@
|
||||
<essential-plugin>PythonCore</essential-plugin>
|
||||
<essential-plugin>com.jetbrains.pycharm.community.customization</essential-plugin>
|
||||
|
||||
<welcome-screen logo-url="/PyCharmCoreWelcomeScreen.png"/>
|
||||
|
||||
<plugins url="https://plugins.jetbrains.com/"
|
||||
builtin-url="__BUILTIN_PLUGINS_URL__"/>
|
||||
<update-urls check="https://www.jetbrains.com/updates/updates.xml"
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user