use of com.microsoft.azure.toolkit.intellij.common.component.resourcegroup.ResourceGroupComboBox in project azure-tools-for-java by Microsoft.
the class RedisCreationDialog method createUIComponents.
private void createUIComponents() {
this.subscriptionComboBox = new SubscriptionComboBox();
this.resourceGroupComboBox = new ResourceGroupComboBox();
this.regionComboBox = new RegionComboBox() {
protected List<? extends Region> loadItems() {
if (Objects.nonNull(this.subscription)) {
return Azure.az(AzureRedis.class).listSupportedRegions(subscription.getId());
}
return Collections.emptyList();
}
};
this.redisNameTextField = new ValidationDebouncedTextInput();
this.pricingComboBox = new AzureComboBoxSimple<>(PricingTier::values);
}
Aggregations