This commit is contained in:
Vladimir Krivosheev
2014-10-30 10:50:30 +01:00
parent d676450572
commit 7d0d3ff9ba
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@ public class AppletConfigurationType implements ConfigurationType {
/**reflection*/
AppletConfigurationType() {
myFactory = new ConfigurationFactoryEx(this) {
@Override
public RunConfiguration createTemplateConfiguration(Project project) {
return new AppletConfiguration(project, this);
}
@@ -41,26 +42,27 @@ public class AppletConfigurationType implements ConfigurationType {
};
}
@Override
public String getDisplayName() {
return ExecutionBundle.message("applet.configuration.name");
}
@Override
public String getConfigurationTypeDescription() {
return ExecutionBundle.message("applet.configuration.description");
}
@Override
public Icon getIcon() {
return AllIcons.RunConfigurations.Applet;
}
@Override
public ConfigurationFactory[] getConfigurationFactories() {
return new ConfigurationFactory[]{myFactory};
}
@Override
@NotNull
public String getId() {
return "Applet";