com.intellij.platform.ProjectTemplate Java Examples

The following examples show how to use com.intellij.platform.ProjectTemplate. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CrudTemplateFactory.java    From crud-intellij-plugin with Apache License 2.0 5 votes vote down vote up
@NotNull
@Override
public ProjectTemplate[] createTemplates(@Nullable String group, WizardContext context) {
    return new ProjectTemplate[]{
            new BuilderBasedTemplate(new SpringBootModuleBuilder()),
    };
}
 
Example #2
Source File: TYPO3CMSProjectTemplatesFactory.java    From idea-php-typo3-plugin with MIT License 5 votes vote down vote up
@NotNull
@Override
public ProjectTemplate[] createTemplates(@Nullable String group, WizardContext context) {
    return new ProjectTemplate[]{
            new TYPO3CMSClassicLayoutDirectoryProjectGenerator(),
            new TYPO3CMSComposerLayoutDirectoryProjectGenerator()
    };
}
 
Example #3
Source File: RoboVmTemplatesFactory.java    From robovm-idea with GNU General Public License v2.0 5 votes vote down vote up
@NotNull
@Override
public ProjectTemplate[] createTemplates(String group, WizardContext context) {
    return new ProjectTemplate[] {
            new RoboVmProjectTemplate("RoboVM iOS & Android Cross-Platform App", "A multi module project with support for Android and iOS, with a shared code project", new RoboVmModuleBuilder("cross-platform", "ios")),
            new RoboVmProjectTemplate("RoboVM iOS Single View App", "A basic single view app using storyboards", new RoboVmModuleBuilder("single-view")),
            new RoboVmProjectTemplate("RoboVM iOS App without storyboards", "A basic single view app without storyboards", new RoboVmModuleBuilder("default")),
            new RoboVmProjectTemplate("RoboVM Console App", "A console app for Mac OS X or Linux", new RoboVmModuleBuilder("console")),
    };
}
 
Example #4
Source File: ShopwareInstallerTemplatesFactory.java    From idea-php-shopware-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public ProjectTemplate[] createTemplates(String s, WizardContext wizardContext) {
    return new ProjectTemplate[] { new ShopwareInstallerProjectGenerator() };
}
 
Example #5
Source File: SymfonyInstallerTemplatesFactory.java    From idea-php-symfony2-plugin with MIT License 4 votes vote down vote up
@NotNull
@Override
public ProjectTemplate[] createTemplates(String s, WizardContext wizardContext) {
    return new ProjectTemplate[] { new SymfonyInstallerProjectGenerator() };
}