Package lcmc.cluster.ui.resource

Examples of lcmc.cluster.ui.resource.FSInfo


        final Map<String, FSInfo> oldFilesystems = getFilesystemsMap();
        mFileSystemsWriteLock.lock();
        try {
            treeMenuController.removeChildren(fileSystemsNode);
            for (final String fs : fileSystems) {
                final FSInfo fsi;
                if (oldFilesystems.containsKey(fs)) {
                    fsi = oldFilesystems.get(fs);
                } else {

                    fsi = fsInfoProvider.get();
                    fsi.init(fs, thisClass);
                }
                treeMenuController.addChild(fileSystemsNode,  treeMenuController.createMenuItem(fsi));
            }
            treeMenuController.reloadNode(fileSystemsNode, false);
        } finally {
View Full Code Here


    Map<String, FSInfo> getFilesystemsMap() {
        final Map<String, FSInfo> filesystems = new HashMap<String, FSInfo>();
        mFileSystemsReadLock.lock();
        try {
            for (final Info info : treeMenuController.nodesToInfos(fileSystemsNode.children())) {
                final FSInfo fsInfo = (FSInfo) info;
                filesystems.put(fsInfo.getName(), fsInfo);
            }
        } finally {
            mFileSystemsReadLock.unlock();
        }
        return filesystems;
View Full Code Here

TOP

Related Classes of lcmc.cluster.ui.resource.FSInfo

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.