use of com.microsoft.azure.toolkit.lib.springcloud.SpringCloudAppEntity in project azure-tools-for-java by Microsoft.
the class AbstractSpringCloudAppInfoPanel method onClusterChanged.
private void onClusterChanged(final ItemEvent e) {
if (e.getStateChange() == ItemEvent.SELECTED || e.getStateChange() == ItemEvent.DESELECTED) {
final SpringCloudCluster c = (SpringCloudCluster) e.getItem();
final String appName = StringUtils.firstNonBlank(this.getTextName().getName(), this.defaultAppName);
final SpringCloudApp app = c.app(new SpringCloudAppEntity(appName, c.entity()));
this.onAppChanged(app);
}
}
Aggregations