Examples of addRecentWorkingSet()


Examples of org.eclipse.ui.IWorkingSetManager.addRecentWorkingSet()

        mi.addSelectionListener(new SelectionAdapter() {
            public void widgetSelected(SelectionEvent e) {
                IWorkingSetManager manager = PlatformUI.getWorkbench()
                        .getWorkingSetManager();
                actionGroup.setWorkingSet(workingSet);
                manager.addRecentWorkingSet(workingSet);
            }
        });
        if (image == null) {
      ImageDescriptor imageDescriptor = workingSet.getImageDescriptor();
      if (imageDescriptor != null)
View Full Code Here

Examples of org.eclipse.ui.IWorkingSetManager.addRecentWorkingSet()

        while (iterator.hasNext()) {
            manager.addWorkingSet(((IWorkingSet) iterator.next()));
        }
        iterator = getRemovedMRUWorkingSets().iterator();
        while (iterator.hasNext()) {
            manager.addRecentWorkingSet(((IWorkingSet) iterator.next()));
        }
    }

    /**
     * Implements IWorkingSetSelectionDialog.
View Full Code Here

Examples of org.eclipse.ui.IWorkingSetManager.addRecentWorkingSet()

        if (dialog.open() == Window.OK) {
            IWorkingSet[] result = dialog.getSelection();
            if (result != null && result.length > 0) {
                actionGroup.setWorkingSet(result[0]);
                manager.addRecentWorkingSet(result[0]);
            } else {
                actionGroup.setWorkingSet(null);
            }
        } else {
      actionGroup.setWorkingSet(workingSet);
View Full Code Here

Examples of org.eclipse.ui.IWorkingSetManager.addRecentWorkingSet()

    while (iterator.hasNext()) {
      manager.addWorkingSet(((IWorkingSet) iterator.next()));
    }
    iterator = fRemovedMRUWorkingSets.iterator();
    while (iterator.hasNext()) {
      manager.addRecentWorkingSet(((IWorkingSet) iterator.next()));
    }
  }

  /**
   * Updates the modify buttons' enabled state based on the current seleciton.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.