use of com.intellij.lang.javascript.flex.projectStructure.model.CompilerOptions.ResourceFilesMode in project intellij-plugins by JetBrains.
the class CompilerOptionsConfigurable method reset.
public void reset() {
myFreeze = true;
try {
myCurrentOptions.clear();
myCurrentOptions.putAll(myModel.getAllOptions());
myMapModified = false;
updateTreeTable();
final ResourceFilesMode mode = myModel.getResourceFilesMode();
myCopyResourceFilesCheckBox.setSelected(mode != ResourceFilesMode.None);
myCopyAllResourcesRadioButton.setSelected(mode == ResourceFilesMode.None || mode == ResourceFilesMode.All);
myRespectResourcePatternsRadioButton.setSelected(mode == ResourceFilesMode.ResourcePatterns);
updateResourcesControls();
myFilesToIncludeInSWC = myModel.getFilesToIncludeInSWC();
updateFilesToIncludeInSWCText();
myConfigFileTextWithBrowse.setText(FileUtil.toSystemDependentName(myModel.getAdditionalConfigFilePath()));
myAdditionalOptionsField.setText(myModel.getAdditionalOptions());
updateAdditionalOptionsControls();
} finally {
myFreeze = false;
}
}
Aggregations