public class ModulesConfigurator extends java.lang.Object implements ModulesProvider, ModuleEditor.ChangeListener
EMPTY_MODULES_PROVIDER| Constructor and Description |
|---|
ModulesConfigurator(Project project) |
public ModulesConfigurator(Project project)
public void setContext(StructureConfigurableContext context)
public ProjectFacetsConfigurator getFacetsConfigurator()
public void disposeUIResources()
public Module [] getModules()
getModules in interface RootModelProviderpublic Module getModule(java.lang.String name)
getModule in interface ModulesProviderpublic ModuleEditor getModuleEditor(Module module)
public ModuleRootModel getRootModel(Module module)
getRootModel in interface RootModelProviderpublic ModuleEditor getOrCreateModuleEditor(Module module)
public FacetModel getFacetModel(Module module)
getFacetModel in interface ModulesProviderpublic void resetModuleEditors()
public void moduleStateChanged(ModifiableRootModel moduleRootModel)
moduleStateChanged in interface ModuleEditor.ChangeListenerpublic void addAllModuleChangeListener(ModuleEditor.ChangeListener listener)
public void apply()
throws ConfigurationException
ConfigurationExceptionpublic void setModified(boolean modified)
public ModifiableModuleModel getModuleModel()
public boolean isModuleModelCommitted()
public java.util.List<Module> deleteModules(java.util.Collection<? extends Module> modules)
public java.util.List<Module> addModule(java.awt.Component parent, boolean anImport, java.lang.String defaultModuleName)
public Module addModule(ModuleBuilder moduleBuilder)
public void processModuleCompilerOutputChanged(java.lang.String baseUrl)
public boolean isModified()
public static boolean showFacetSettingsDialog(Facet facet, java.lang.String tabNameToSelect)
public static boolean showDialog(Project project, java.lang.String moduleToSelect, java.lang.String editorNameToSelect)
public void moduleRenamed(Module module, java.lang.String oldName, java.lang.String name)
public StructureConfigurableContext getContext()