use of com.microsoft.azure.hdinsight.serverexplore.HDInsightRootModuleImpl in project azure-tools-for-java by Microsoft.
the class HDInsightUtil method setHDInsightRootModule.
public static void setHDInsightRootModule(@NotNull AzureModule azureModule) {
HDInsightRootModuleImpl hdInsightRootModule = new HDInsightRootModuleImpl(azureModule);
// add telemetry for HDInsight Node
hdInsightRootModule.addClickActionListener(new NodeActionListener() {
@Override
protected void actionPerformed(NodeActionEvent e) throws AzureCmdException {
AppInsightsClient.create(HDInsightBundle.message("HDInsightExplorerHDInsightNodeExpand"), null);
}
});
azureModule.setHdInsightModule(hdInsightRootModule);
}
Aggregations