use of com.microsoft.azure.toolkit.intellij.vm.creation.component.VirtualNetworkComboBox in project azure-tools-for-java by Microsoft.
the class VMCreationDialog method createUIComponents.
private void createUIComponents() {
// TODO: place custom component creation code here
this.cbSubscription = new SubscriptionComboBox();
this.cbSubscription.setRequired(true);
this.cbImage = new VirtualMachineImageComboBox();
this.cbImage.setRequired(true);
this.cbSize = new VirtualMachineSizeComboBox();
this.cbSize.setRequired(true);
this.cbAvailabilityOptions = new NetworkAvailabilityOptionsComboBox();
this.cbVirtualNetwork = new VirtualNetworkComboBox();
this.cbVirtualNetwork.setRequired(true);
this.cbSubnet = new SubnetComboBox();
this.cbSubnet.setRequired(true);
this.cbSecurityGroup = new SecurityGroupComboBox();
this.cbPublicIp = new PublicIPAddressComboBox();
this.cbPublicIp.setRequired(true);
this.cbStorageAccount = new AzureStorageAccountComboBox();
this.txtUserName = new ValidationDebouncedTextInput();
this.txtUserName.setRequired(true);
this.txtVisualMachineName = new ValidationDebouncedTextInput();
this.txtVisualMachineName.setRequired(true);
this.txtVisualMachineName.setValidator(this::validateVirtualMachineName);
this.txtMaximumPrice = new ValidationDebouncedTextInput();
this.txtPassword = new JPasswordField();
this.passwordFieldInput = new AzurePasswordFieldInput(txtPassword, true);
this.txtConfirmPassword = new JPasswordField();
this.confirmPasswordFieldInput = new AzurePasswordFieldInput(txtConfirmPassword, true);
this.cbSubscription.refreshItems();
}
Aggregations