mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-13 06:59:44 +07:00
OPENIDE aboutbox changes
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user