Search in sources :

Example 1 with RefreshableNode

use of com.microsoft.tooling.msservices.serviceexplorer.RefreshableNode in project azure-tools-for-java by Microsoft.

the class ClusterNode method refreshItems.

@Override
protected void refreshItems() {
    if (!clusterDetail.isEmulator()) {
        final String uuid = UUID.randomUUID().toString();
        JobViewManager.registerJovViewNode(uuid, clusterDetail);
        JobViewNode jobViewNode = new JobViewNode(this, uuid);
        boolean isIntelliJ = HDInsightLoader.getHDInsightHelper().isIntelliJPlugin();
        boolean isLinux = System.getProperty("os.name").toLowerCase().contains("linux");
        if (isIntelliJ || !isLinux) {
            addChildNode(jobViewNode);
        }
        RefreshableNode storageAccountNode = new StorageAccountFolderNode(this, clusterDetail);
        addChildNode(storageAccountNode);
    }
}
Also used : RefreshableNode(com.microsoft.tooling.msservices.serviceexplorer.RefreshableNode)

Aggregations

RefreshableNode (com.microsoft.tooling.msservices.serviceexplorer.RefreshableNode)1