added logos for twitter bootstrap and boilerplate.

Use renamed getIcon to getLogo to not mess with IDEA project creation
This commit is contained in:
Ekaterina Tuzova
2014-06-12 12:52:31 +04:00
parent 3721c14cac
commit 901669b0b5
6 changed files with 9 additions and 5 deletions
@@ -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;
}
@@ -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);
}