Examples of ITaskGroup


Examples of org.eclipse.ui.internal.provisional.cheatsheets.ITaskGroup

   * Find the most recent ancestor of this task that is blocked
   * @param task
   * @return A blocked task or null if no ancestors are blocked
   */
  public static ICompositeCheatSheetTask findBlockedAncestor(ICompositeCheatSheetTask task) {
    ITaskGroup parent = ((AbstractTask)task).getParent();
    if (parent == null) {
      return null;
    }
        if (!parent.requiredTasksCompleted()) {
      return parent;
    }
    return findBlockedAncestor(parent);   
  }
View Full Code Here

Examples of org.eclipse.ui.internal.provisional.cheatsheets.ITaskGroup

   * Find the most recent ancestor of this task that is skipped
   * @param task
   * @return A skipped task or null if no ancestors are skipped
   */
  public static ICompositeCheatSheetTask findSkippedAncestor(ICompositeCheatSheetTask task) {
    ITaskGroup parent = ((AbstractTask)task).getParent();
    if (parent == null) {
      return null;
    }
        if (parent.getState() == ICompositeCheatSheetTask.SKIPPED) {
      return parent;
    }
    return findSkippedAncestor(parent);     
  }
View Full Code Here

Examples of org.eclipse.ui.internal.provisional.cheatsheets.ITaskGroup

   * Find the most recent ancestor of this task that is completed
   * @param task
   * @return A completed task or null if no ancestors are completed
   */
  public static ICompositeCheatSheetTask findCompletedAncestor(ICompositeCheatSheetTask task) {
    ITaskGroup parent = ((AbstractTask)task).getParent();
    if (parent == null) {
      return null;
    }
        if (parent.getState() == ICompositeCheatSheetTask.COMPLETED) {
      return parent;
    }
    return findCompletedAncestor(parent);   
  }
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.