(self, loader)
| 187 | self.settings = Settings(self) |
| 188 | |
| 189 | def load(self, loader): |
| 190 | loader.add_option( |
| 191 | "view_filter", Optional[str], None, "Limit the view to matching flows." |
| 192 | ) |
| 193 | loader.add_option( |
| 194 | "view_order", |
| 195 | str, |
| 196 | "time", |
| 197 | "Flow sort order.", |
| 198 | choices=list(map(lambda c: c[1], orders)), |
| 199 | ) |
| 200 | loader.add_option( |
| 201 | "view_order_reversed", bool, False, "Reverse the sorting order." |
| 202 | ) |
| 203 | loader.add_option( |
| 204 | "console_focus_follow", bool, False, "Focus follows new flows." |
| 205 | ) |
| 206 | |
| 207 | def store_count(self): |
| 208 | return len(self._store) |
no test coverage detected