Search in sources :

Example 1 with SpringCloudAppCreationDialog

use of com.microsoft.azure.toolkit.intellij.springcloud.creation.SpringCloudAppCreationDialog in project azure-tools-for-java by Microsoft.

the class SpringCloudAppComboBox method showAppCreationPopup.

private void showAppCreationPopup() {
    final SpringCloudAppCreationDialog dialog = new SpringCloudAppCreationDialog(this.cluster);
    dialog.setOkActionListener((config) -> {
        final SpringCloudApp app = cluster.app(config);
        this.addLocalItem(app);
        dialog.close();
        this.setValue(app);
    });
    dialog.show();
}
Also used : SpringCloudAppCreationDialog(com.microsoft.azure.toolkit.intellij.springcloud.creation.SpringCloudAppCreationDialog) SpringCloudApp(com.microsoft.azure.toolkit.lib.springcloud.SpringCloudApp)

Aggregations

SpringCloudAppCreationDialog (com.microsoft.azure.toolkit.intellij.springcloud.creation.SpringCloudAppCreationDialog)1 SpringCloudApp (com.microsoft.azure.toolkit.lib.springcloud.SpringCloudApp)1