Package org.eclipse.ui.internal

Examples of org.eclipse.ui.internal.AggregateWorkingSet


    if (multiSelect) {
      listViewer.setCheckedElements(initialElementSelections.toArray());
    } else if (!initialElementSelections.isEmpty()) {
      IWorkingSet set = (IWorkingSet) initialElementSelections.get(0);
      if (set instanceof AggregateWorkingSet) {
        AggregateWorkingSet aggregate = (AggregateWorkingSet) set;
        listViewer.setCheckedElements(aggregate.getComponents());
      }
      else {
        listViewer.setCheckedElements(initialElementSelections.toArray());
      }
    }
View Full Code Here


     */
    public WorkingSetHelper(IWorkingSet set) {
      workingSet = set;

      if (workingSet.isAggregateWorkingSet()) {
        AggregateWorkingSet aggregateSet = (AggregateWorkingSet) workingSet;

        IWorkingSet[] components = aggregateSet.getComponents();

        for (int componentIndex = 0; componentIndex < components.length; componentIndex++) {
          IAdaptable[] elements = components[componentIndex]
              .getElements();
          for (int elementsIndex = 0; elementsIndex < elements.length; elementsIndex++) {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.AggregateWorkingSet

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.