Package lcmc.host.ui

Examples of lcmc.host.ui.HostBrowser


        this.commonMountPoints = commonMountPoints.clone();

        /* cluster hosts */
        treeMenuController.removeChildren(clusterHostsNode);
        for (final Host clusterHost : clusterHosts) {
            final HostBrowser hostBrowser = clusterHost.getBrowser();
            final DefaultMutableTreeNode resource = hostBrowser.getTreeTop();
            treeMenuController.addChild(clusterHostsNode, resource);
            crmGraph.addHost(hostBrowser.getHostInfo());
        }

        treeMenuController.reloadNode(clusterHostsNode, false);

        application.invokeLater(new Runnable() {
View Full Code Here


                final Host[] hosts = cluster.getHostsArray();
                application.invokeAndWait(new Runnable() {
                    @Override
                    public void run() {
                        for (final Host host : hosts) {
                            final HostBrowser hostBrowser = host.getBrowser();
                            drbdGraph.addHost(hostBrowser.getHostDrbdInfo());
                        }
                    }
                });
                int notConnectedCount = 0;
                Host firstHost = null;
View Full Code Here

            hbci.checkResourceFields(null, hbci.getParametersFromXML());
            hbci.updateAdvancedPanels();
        }

        for (final Host clusterHost : getClusterHosts()) {
            final HostBrowser hostBrowser = clusterHost.getBrowser();
            hostBrowser.getHostInfo().updateAdvancedPanels();
        }
    }
View Full Code Here

    /** Updates resources of a cluster in the tree. */
    void updateHosts() {
        final Iterable<Host> allHostsSorted = new TreeSet<Host>(allHosts.getHostSet());
        treeMenuController.removeChildren(allHostsNode);
        for (final Host host : allHostsSorted) {
            final HostBrowser hostBrowser = host.getBrowser();
            final MutableTreeNode resource = treeMenuController.createMenuItem(allHostsNode, hostBrowser.getHostInfo());
        }
        treeMenuController.reloadNode(allHostsNode, false);
        treeMenuController.selectPath(new Object[]{treeTop, allHostsNode});
    }
View Full Code Here

TOP

Related Classes of lcmc.host.ui.HostBrowser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.