Package org.eclipse.ui

Examples of org.eclipse.ui.IAggregateWorkingSet


    public static Set<WorkItem> getResources(IWorkingSet wset) {
        Set<WorkItem> set = new HashSet<WorkItem>();
        boolean aggregateWorkingSet = wset.isAggregateWorkingSet();
        // IAggregateWorkingSet was introduced in Eclipse 3.5
        if (aggregateWorkingSet && wset instanceof IAggregateWorkingSet) {
            IAggregateWorkingSet aggr = (IAggregateWorkingSet) wset;
            IWorkingSet[] sets = aggr.getComponents();
            for (IWorkingSet iWorkingSet : sets) {
                set.addAll(getResources(iWorkingSet));
            }
        } else {
            IAdaptable[] elements = wset.getElements();
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IAggregateWorkingSet

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.