blob: 88d394bbec58acee913e4baac4c503df2ee39f1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
import { CellRef } from "./types";
export abstract class Selection {
readonly gridId: string;
readonly activeCellRef: CellRef;
constructor(gridId: string, activeCellRef: CellRef) {
this.gridId = gridId;
this.activeCellRef = activeCellRef;
}
}
export class ActiveCellSelection extends Selection {}
export class RangeSelection extends Selection {}
export class AllSelection extends Selection {}
export class PendingSelection extends Selection {}
|