use of com.microsoft.azure.toolkit.intellij.webapp.WebAppComboBox in project azure-tools-for-java by Microsoft.
the class WebAppSlimSettingPanel method createUIComponents.
private void createUIComponents() {
// TODO: place custom component creation code here
lblNewSlot = new HyperlinkLabel(message("webapp.deploy.noDeploymentSlot"));
lblNewSlot.addHyperlinkListener(e -> rbtNewSlot.doClick());
comboBoxWebApp = new WebAppComboBox(project);
comboBoxWebApp.addItemListener(e -> loadDeploymentSlot(getSelectedWebApp()));
comboBoxWebApp.refreshItems();
comboBoxArtifact = new AzureArtifactComboBox(this.project);
comboBoxArtifact.setFileFilter(virtualFile -> {
final String ext = FileNameUtils.getExtension(virtualFile.getPath());
return ArrayUtils.contains(FILE_NAME_EXT, ext);
});
comboBoxArtifact.refreshItems();
}
Aggregations