mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
added logos for twitter bootstrap and boilerplate.
Use renamed getIcon to getLogo to not mess with IDEA project creation
This commit is contained in:
@@ -43,7 +43,7 @@ public class PythonBaseProjectGenerator implements DirectoryProjectGenerator {
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Icon getIcon() {
|
||||
public Icon getLogo() {
|
||||
return PythonIcons.Python.Python_logo;
|
||||
}
|
||||
|
||||
|
||||
@@ -194,7 +194,7 @@ public class PythonNewDirectoryProjectDialog extends NewDirectoryProjectDialog {
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public Icon getIcon() {
|
||||
public Icon getLogo() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -134,7 +134,7 @@ abstract public class AbstractProjectSettingsStep extends AbstractActionWithPane
|
||||
}
|
||||
|
||||
protected Icon getIcon() {
|
||||
return myProjectGenerator.getIcon();
|
||||
return myProjectGenerator.getLogo();
|
||||
}
|
||||
|
||||
private JPanel createBasePanel() {
|
||||
|
||||
@@ -30,7 +30,7 @@ public class ProjectSpecificAction extends DefaultActionGroup implements DumbAwa
|
||||
public ProjectSpecificAction(@NotNull final NullableConsumer<AbstractProjectSettingsStep> callback,
|
||||
@NotNull final DirectoryProjectGenerator projectGenerator) {
|
||||
super(projectGenerator.getName(), true);
|
||||
getTemplatePresentation().setIcon(projectGenerator.getIcon());
|
||||
getTemplatePresentation().setIcon(projectGenerator.getLogo());
|
||||
mySettings = new ProjectSpecificSettingsStep(projectGenerator, callback);
|
||||
add(mySettings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user