(workspace: IWorkspace)
| 75 | } |
| 76 | |
| 77 | constructor(workspace: IWorkspace) { |
| 78 | this.workspace = workspace; |
| 79 | makeObservable(this, { |
| 80 | _items: observable, |
| 81 | _start: observable, |
| 82 | select: action, |
| 83 | setStart: action, |
| 84 | clear: action, |
| 85 | start: computed, |
| 86 | selected: computed, |
| 87 | first: computed, |
| 88 | firstNode: computed, |
| 89 | size: computed, |
| 90 | isSelected: computed, |
| 91 | file: computed, |
| 92 | nodes: computed, |
| 93 | }); |
| 94 | } |
| 95 | |
| 96 | // 增加一个选中项 |
| 97 | add() {} |
nothing calls this directly
no outgoing calls
no test coverage detected