Search in sources :

Example 1 with AzureArtifactComboBox

use of com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox in project azure-tools-for-java by Microsoft.

the class SpringCloudDeploymentConfigurationPanel method createUIComponents.

private void createUIComponents() {
    this.selectorArtifact = new AzureArtifactComboBox(project);
    this.selectorArtifact.refreshItems();
}
Also used : AzureArtifactComboBox(com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox)

Example 2 with AzureArtifactComboBox

use of com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox in project azure-tools-for-java by Microsoft.

the class AppServiceInfoAdvancedPanel method createUIComponents.

private void createUIComponents() {
    // TODO: place custom component creation code here
    this.selectorApplication = new AzureArtifactComboBox(project, true);
    this.selectorApplication.refreshItems();
}
Also used : AzureArtifactComboBox(com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox)

Example 3 with AzureArtifactComboBox

use of com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox 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();
}
Also used : AzureArtifactComboBox(com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox) WebAppComboBox(com.microsoft.azure.toolkit.intellij.webapp.WebAppComboBox) HyperlinkLabel(com.intellij.ui.HyperlinkLabel)

Aggregations

AzureArtifactComboBox (com.microsoft.azure.toolkit.intellij.common.AzureArtifactComboBox)3 HyperlinkLabel (com.intellij.ui.HyperlinkLabel)1 WebAppComboBox (com.microsoft.azure.toolkit.intellij.webapp.WebAppComboBox)1