use of com.intellij.lang.javascript.flex.projectStructure.ui.CompositeConfigurable in project intellij-plugins by JetBrains.
the class FlexBCConfigurator method apply.
public void apply() throws ConfigurationException {
final ModuleStructureConfigurable c = ProjectStructureConfigurable.getInstance(myConfigEditor.getProject()).getModulesConfig();
for (final CompositeConfigurable configurable : myConfigurablesMap.values()) {
c.ensureInitialized(configurable);
if (configurable.isModified()) {
configurable.apply();
}
}
if (myConfigEditor.isModified()) {
myConfigEditor.checkCanCommit();
myConfigEditor.commit();
}
}
use of com.intellij.lang.javascript.flex.projectStructure.ui.CompositeConfigurable in project intellij-plugins by JetBrains.
the class FlexBCConfigurator method getOrCreateConfigurables.
public List<CompositeConfigurable> getOrCreateConfigurables(final Module module, final Runnable treeNodeNameUpdater) {
myModifiableModelInitializer.ensureInitialized(module.getProject());
final ModifiableFlexBuildConfiguration[] configurations = myConfigEditor.getConfigurations(module);
List<CompositeConfigurable> configurables = new ArrayList<>(configurations.length);
for (final ModifiableFlexBuildConfiguration bc : configurations) {
CompositeConfigurable configurable = myConfigurablesMap.get(bc);
if (configurable == null) {
myConfigurablesMap.put(bc, configurable = createBcConfigurable(module, bc, treeNodeNameUpdater));
}
configurables.add(configurable);
}
return configurables;
}
Aggregations