public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskID) { switch (getTask) { case UIExtension.GetTask.GetNextTask: // TODO break; case UIExtension.GetTask.GetPrevTask: // TODO break; case UIExtension.GetTask.GetNextVisibleTask: // TODO break; case UIExtension.GetTask.GetNextTopLevelTask: // TODO break; case UIExtension.GetTask.GetPrevVisibleTask: // TODO break; case UIExtension.GetTask.GetPrevTopLevelTask: // TODO break; } // all else return(false); }
public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskID) { TreeNode node = FindNode(taskID); if (node == null) { return(false); } switch (getTask) { case UIExtension.GetTask.GetNextTask: if (node.NextVisibleNode != null) { taskID = UniqueID(node.NextVisibleNode); return(true); } break; case UIExtension.GetTask.GetPrevTask: if (node.PrevVisibleNode != null) { taskID = UniqueID(node.PrevVisibleNode); return(true); } break; case UIExtension.GetTask.GetNextTopLevelTask: { var topLevelParent = TopLevelParent(node); if ((topLevelParent != null) && (topLevelParent.NextNode != null)) { taskID = UniqueID(topLevelParent.NextNode); return(true); } } break; case UIExtension.GetTask.GetPrevTopLevelTask: { var topLevelParent = TopLevelParent(node); if ((topLevelParent != null) && (topLevelParent.PrevNode != null)) { taskID = UniqueID(topLevelParent.PrevNode); return(true); } } break; } // all else return(false); }
public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskID) { switch (getTask) { case UIExtension.GetTask.GetNextTask: break; case UIExtension.GetTask.GetPrevTask: break; } // all else return(false); }
public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskId) { taskId = 0; switch (getTask) { case UIExtension.GetTask.GetNextTask: taskId = m_TaskMatchesList.GetNextSelectedMatchId(); break; case UIExtension.GetTask.GetPrevTask: taskId = m_TaskMatchesList.GetPrevSelectedMatchId(); break; } return(taskId != 0); }
public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskID) { return(m_DayView.GetTask(getTask, ref taskID)); }
public bool GetTask(UIExtension.GetTask getTask, ref UInt32 taskID) { return(m_MindMap.GetTask(getTask, ref taskID)); }