def createSortOrderUICommands(self): ''' Create the UICommands for changing sort order, like ascending/ descending, and match case. ''' return [ uicommand.ViewerSortOrderCommand(viewer=self), uicommand.ViewerSortCaseSensitive(viewer=self) ]
def getSortUICommands(self): return [ uicommand.ViewerSortOrderCommand(viewer=self), uicommand.ViewerSortCaseSensitive(viewer=self), uicommand.ViewerSortByTaskStatusFirst(viewer=self), None, uicommand.ViewerSortByCommand(viewer=self, value='subject', menuText='Sub&ject', helpText='help'), uicommand.ViewerSortByCommand(viewer=self, value='description', menuText='&Description', helpText='help') ]
def createSortOrderUICommands(self): ''' Create the UICommands for changing sort order. The only option for efforts is ascending/descending at the moment. ''' return [uicommand.ViewerSortOrderCommand(viewer=self)]