use of com.intellij.lang.javascript.flex.projectStructure.model.AirPackagingOptions in project intellij-plugins by JetBrains.
the class AirPackageDialog method checkPasswords.
private boolean checkPasswords(final Collection<Pair<Module, FlexBuildConfiguration>> selectedBCs) {
final Collection<AirPackagingOptions> allPackagingOptions = new ArrayList<>();
for (Pair<Module, FlexBuildConfiguration> moduleAndBC : selectedBCs) {
final FlexBuildConfiguration bc = moduleAndBC.second;
if (bc.getTargetPlatform() == TargetPlatform.Desktop) {
if (myDesktopTypeCombo.getSelectedItem() != DesktopPackageType.Airi) {
allPackagingOptions.add(bc.getAirDesktopPackagingOptions());
}
} else {
if (bc.getAndroidPackagingOptions().isEnabled()) {
allPackagingOptions.add(bc.getAndroidPackagingOptions());
}
if (bc.getIosPackagingOptions().isEnabled()) {
allPackagingOptions.add(bc.getIosPackagingOptions());
}
}
}
myPasswords = AirPackageAction.getPasswords(myProject, allPackagingOptions);
return myPasswords != null;
}
Aggregations