mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
reverted back to 42
This commit is contained in:
@@ -11,10 +11,13 @@ import com.intellij.openapi.roots.ModuleRootManager;
|
||||
import com.intellij.openapi.options.ConfigurationException;
|
||||
import org.jetbrains.idea.devkit.sandbox.Sandbox;
|
||||
import org.jetbrains.idea.devkit.sandbox.SandboxManager;
|
||||
import com.intellij.openapi.roots.ModifiableRootModel;
|
||||
import private Sandbox mySandbox;
|
||||
com.intellij.openapi.roots.ModuleRootManager;
|
||||
import com.intellij.openapi.options.Co }
|
||||
|
||||
public class PluginModuleBuilder extends JavaModuleBuilder{
|
||||
private Sandbox mySandbox;
|
||||
|
||||
public ModuleType getModuleType() {
|
||||
return PluginModuleType.getInstance();
|
||||
}
|
||||
|
||||
public void setupRootModel(ModifiableRootModel rootModel) throws ConfigurationException {
|
||||
super.setupRootModel(rootModel);
|
||||
@@ -27,4 +30,5 @@ import com.intellij.openapi.options.Co }
|
||||
|
||||
public Sandbox getSandbox() {
|
||||
return mySandbox;
|
||||
nfigurat
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,11 +66,27 @@ public class PluginModuleType extends ModuleType<PluginModuleBuilder> {
|
||||
stepFactory.createSourcePathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null),
|
||||
new PluginModuleTypeStep(wizardContext, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null),
|
||||
stepFactory.createOutputPathPathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null)
|
||||
reateOutputPathPathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null)
|
||||
reateOutputPathPathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null)
|
||||
reateOutputPathPathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null)
|
||||
reateOutputPathPathsStep(nameAndLocationStep, pluginModuleBuilder, ADD_PLUGIN_MODULE_ICON, null)
|
||||
};
|
||||
}
|
||||
|
||||
public PluginModuleBuilder crea
|
||||
public PluginModuleBuilder createModuleBuilder() {
|
||||
return new PluginModuleBuilder();
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return "Plugin Module";
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
//TODO: better description
|
||||
return "Useful for IDEA plugin development";
|
||||
}
|
||||
|
||||
public Icon getBigIcon() {
|
||||
return PLUGIN_MODULE_ICON;
|
||||
}
|
||||
|
||||
public Icon getNodeIcon(boolean isOpened) {
|
||||
return PLUGIN_MODULE_NODE_ICON;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user