OPENIDE aboutbox changes

This commit is contained in:
axiom
2025-03-12 16:43:03 +03:00
committed by Nikita Iarychenko
parent 5d9d9b90f3
commit f52be5aee0

View File

@@ -1,4 +1,7 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
//
// Modified by Dmitrij Pochepko at 2025 as part of the OpenIDE project (https://openide.ru).
// Any modifications are available on the same license terms as the original source code.
package com.intellij.ide.actions;
import com.intellij.CommonBundle;
@@ -206,6 +209,25 @@ public final class AboutDialog extends DialogWrapper {
box.add(label(text, getDefaultTextFont()));
addEmptyLine(box);
//jb cortesy
HyperlinkLabel ideace = hyperlinkLabel("This product source code is largely based on <hyperlink>intellij-community</hyperlink> open-source");
ideace.addHyperlinkListener(new HyperlinkAdapter() {
@Override
protected void hyperlinkActivated(@NotNull HyperlinkEvent e) {
BrowserUtil.browse("https://github.com/JetBrains/intellij-community");
}
});
box.add(ideace);
HyperlinkLabel jb = hyperlinkLabel("project for which credit is given to <hyperlink>JetBrains</hyperlink>.");
jb.addHyperlinkListener(new HyperlinkAdapter() {
@Override
protected void hyperlinkActivated(@NotNull HyperlinkEvent e) {
BrowserUtil.browse("https://jetbrains.com");
}
});
box.add(jb);
addEmptyLine(box);
//Link to open-source projects
HyperlinkLabel openSourceSoftware = hyperlinkLabel(IdeBundle.message("about.box.powered.by"));
openSourceSoftware.addHyperlinkListener(new HyperlinkAdapter() {