Package org.fusesource.ide.commons.tree

Examples of org.fusesource.ide.commons.tree.RefreshableCollectionNode


        super("");
    }

    @Override
    public void setInput(IWorkbenchPart part, ISelection selection) {
        RefreshableCollectionNode node = (RefreshableCollectionNode) Selections.getFirstSelection(selection);
        if (node == current) {
            return;
        }
        if (current == null || current.getClass() != node.getClass()) {
            // reset the configuration
            setConfiguration(null);
        }
        current = node;
        List<?> propertySources = node == null ? Collections.emptyList() : node.getPropertySourceList();
        setPropertySources(propertySources);
        getViewer().setInput(propertySources);
        recreateColumns();
        getViewer().refresh(true);
    }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.tree.RefreshableCollectionNode

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.