Package jetbrains.mps.project
Class ModelsAutoImportsManager.AutoImportsContributor<ModuleType extends SModule>
- java.lang.Object
 - 
- jetbrains.mps.project.ModelsAutoImportsManager.AutoImportsContributor<ModuleType>
 
 
- 
- Direct Known Subclasses:
 Generator.GeneratorModelsAutoImports,Language.LanguageModelsAutoImports
- Enclosing class:
 - ModelsAutoImportsManager
 
public abstract static class ModelsAutoImportsManager.AutoImportsContributor<ModuleType extends SModule> extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description AutoImportsContributor() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Class<ModuleType>getApplicableSModuleClass()Deprecated.Use genericisApplicable(SModule)instead, and stop parameterising the class with ModuleType, it's to be removed after 2018.3 (signature of all the methods of this class will use SModule then).Set<SModel>getAutoImportedModels(ModuleType contextModule, SModel model)Collection<SModuleReference>getDevKits(ModuleType contextModule, SModel forModel)Collection<SLanguage>getLanguages(ModuleType contextModule, SModel model)booleanisApplicable(SModule module)IMPORTANT! THIS METHOD HAS DEFAULT IMPLEMENTATION FOR TRANSITION PERIOD AND TO BECOME ABSTRACT IN NEXT RELEASE. 
 - 
 
- 
- 
Method Detail
- 
getApplicableSModuleClass
@Deprecated public Class<ModuleType> getApplicableSModuleClass()
Deprecated.Use genericisApplicable(SModule)instead, and stop parameterising the class with ModuleType, it's to be removed after 2018.3 (signature of all the methods of this class will use SModule then). It's not possible to changeModuleType contextModuletoSModule contextModuleright away as it breaks compile-time code compatibility. 
- 
isApplicable
public boolean isApplicable(SModule module)
IMPORTANT! THIS METHOD HAS DEFAULT IMPLEMENTATION FOR TRANSITION PERIOD AND TO BECOME ABSTRACT IN NEXT RELEASE. PLEASE OVERRIDE! 
- 
getAutoImportedModels
public Set<SModel> getAutoImportedModels(ModuleType contextModule, SModel model)
 
- 
getLanguages
@NotNull public Collection<SLanguage> getLanguages(ModuleType contextModule, SModel model)
 
- 
getDevKits
public Collection<SModuleReference> getDevKits(ModuleType contextModule, SModel forModel)
 
 - 
 
 -