use full product name with edition on welcome screen

This commit is contained in:
Ekaterina Tuzova
2017-12-04 23:39:00 +03:00
parent f60a25036d
commit 3d9c33944b
3 changed files with 6 additions and 1 deletions
@@ -524,7 +524,10 @@ public class FlatWelcomeFrame extends JFrame implements IdeFrame, Disposable, Ac
logo.setBorder(JBUI.Borders.empty(30,0,10,0));
logo.setHorizontalAlignment(SwingConstants.CENTER);
panel.add(logo, BorderLayout.NORTH);
JLabel appName = new JLabel(ApplicationNamesInfo.getInstance().getFullProductName());
final String applicationName = Boolean.getBoolean("ide.ui.name.with.edition")
? ApplicationNamesInfo.getInstance().getFullProductNameWithEdition()
: ApplicationNamesInfo.getInstance().getFullProductName();
JLabel appName = new JLabel(applicationName);
Font font = getProductFont();
appName.setForeground(JBColor.foreground());
appName.setFont(font.deriveFont(JBUI.scale(36f)).deriveFont(Font.PLAIN));
@@ -25,6 +25,7 @@ class PyCharmEduProperties extends PyCharmPropertiesBase {
"python-community-ide", "python-community-configure", "educational-python", "python-openapi", "python-psi-api", "platform-main"
]
productLayout.bundledPluginModules = new File("$pythonCommunityPath/educational-python/build/plugin-list.txt").readLines()
additionalIDEPropertiesFilePaths = ["$home/community/python/educational-python/build/pycharm-edu.properties".toString()]
}
@Override
@@ -0,0 +1 @@
ide.ui.name.with.edition=true