DSGN-968 New Project Wizard icons for IDEA
@@ -100,7 +100,7 @@ public class ProjectTypeStep extends ModuleWizardStep implements Disposable, Act
|
||||
append(" ");
|
||||
}
|
||||
else {
|
||||
setBorder(IdeBorderFactory.createEmptyBorder(3, 10, 3, 5));
|
||||
setBorder(IdeBorderFactory.createEmptyBorder(2, 10, 2, 5));
|
||||
setIcon(value.getIcon());
|
||||
}
|
||||
append(value.getName());
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.intellij.platform.templates;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.fileTemplates.impl.UrlUtil;
|
||||
import com.intellij.ide.util.projectWizard.WizardContext;
|
||||
import com.intellij.openapi.application.PathManager;
|
||||
@@ -27,6 +28,7 @@ import com.intellij.util.ArrayUtil;
|
||||
import com.intellij.util.containers.MultiMap;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.net.MalformedURLException;
|
||||
@@ -146,5 +148,10 @@ public class ArchivedTemplatesFactory extends ProjectTemplatesFactory {
|
||||
return CUSTOM_GROUP.equals(group) ? -2 : 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Icon getGroupIcon(String group) {
|
||||
return CUSTOM_GROUP.equals(group) ? AllIcons.Modules.Types.UserDefined : super.getGroupIcon(group);
|
||||
}
|
||||
|
||||
private final static Logger LOG = Logger.getInstance(ArchivedTemplatesFactory.class);
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 818 B After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 3.9 KiB |
@@ -713,6 +713,7 @@ public class AllIcons {
|
||||
public static final Icon JavaeeAppModule = IconLoader.getIcon("/modules/types/JavaeeAppModule.png"); // 24x24
|
||||
public static final Icon JavaModule = IconLoader.getIcon("/modules/types/javaModule.png"); // 24x24
|
||||
public static final Icon PluginModule = IconLoader.getIcon("/modules/types/pluginModule.png"); // 24x24
|
||||
public static final Icon UserDefined = IconLoader.getIcon("/modules/types/userDefined.png"); // 24x24
|
||||
public static final Icon WebModule = IconLoader.getIcon("/modules/types/webModule.png"); // 24x24
|
||||
|
||||
}
|
||||
|
||||
@@ -53,6 +53,7 @@ public class JetgroovyIcons {
|
||||
public static final Icon Groovy_16x16 = load("/icons/groovy/groovy_16x16.png"); // 16x16
|
||||
public static final Icon Groovy_32x32 = load("/icons/groovy/groovy_32x32.png"); // 32x32
|
||||
public static final Icon GroovyDoc = load("/icons/groovy/GroovyDoc.png"); // 16x16
|
||||
public static final Icon GroovyModule = load("/icons/groovy/groovyModule.png"); // 24x24
|
||||
public static final Icon Interface = load("/icons/groovy/interface.png"); // 16x16
|
||||
public static final Icon Method = load("/icons/groovy/method.png"); // 16x16
|
||||
public static final Icon Property = load("/icons/groovy/property.png"); // 16x16
|
||||
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
@@ -39,7 +39,7 @@ public class GroovyAwareModuleBuilder extends JavaModuleBuilder {
|
||||
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public GroovyAwareModuleBuilder() {
|
||||
this("groovy", "Groovy", "Simple module with attached Groovy library", null);
|
||||
this("groovy", "Groovy", "Simple module with attached Groovy library", JetgroovyIcons.Groovy.GroovyModule);
|
||||
}
|
||||
|
||||
protected GroovyAwareModuleBuilder(String builderId, String presentableName, String description, Icon bigIcon) {
|
||||
|
||||