use of com.microsoft.azure.management.appservice.PricingTier in project azure-tools-for-java by Microsoft.
the class AppServiceCreateDialog method fillAppServicePlanPricingTiers.
protected void fillAppServicePlanPricingTiers() {
try {
comboAppServicePlanPricingTier.removeAll();
binderAppServicePlanPricingTier = new ArrayList<PricingTier>();
List<PricingTier> l = createListFromClassFields(PricingTier.class);
for (PricingTier aspt : l) {
comboAppServicePlanPricingTier.add(aspt.toString());
binderAppServicePlanPricingTier.add(aspt);
}
if (comboAppServicePlanPricingTier.getItemCount() > 0) {
comboAppServicePlanPricingTier.select(0);
}
} catch (Exception ex) {
ex.printStackTrace();
LOG.log(new Status(IStatus.ERROR, Activator.PLUGIN_ID, "fillAppServicePlanPricingTiers@AppServiceCreateDialog", ex));
}
}
Aggregations