| 585 | } |
| 586 | |
| 587 | export class DockviewApi implements CommonApi<SerializedDockview> { |
| 588 | /** |
| 589 | * The unique identifier for this instance. Used to manage scope of Drag'n'Drop events. |
| 590 | */ |
| 591 | get id(): string { |
| 592 | return this.component.id; |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * Width of the component. |
| 597 | */ |
| 598 | get width(): number { |
| 599 | return this.component.width; |
| 600 | } |
| 601 | |
| 602 | /** |
| 603 | * Height of the component. |
| 604 | */ |
| 605 | get height(): number { |
| 606 | return this.component.height; |
| 607 | } |
| 608 | |
| 609 | /** |
| 610 | * Minimum height of the component. |
| 611 | */ |
| 612 | get minimumHeight(): number { |
| 613 | return this.component.minimumHeight; |
| 614 | } |
| 615 | |
| 616 | /** |
| 617 | * Maximum height of the component. |
| 618 | */ |
| 619 | get maximumHeight(): number { |
| 620 | return this.component.maximumHeight; |
| 621 | } |
| 622 | |
| 623 | /** |
| 624 | * Minimum width of the component. |
| 625 | */ |
| 626 | get minimumWidth(): number { |
| 627 | return this.component.minimumWidth; |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * Maximum width of the component. |
| 632 | */ |
| 633 | get maximumWidth(): number { |
| 634 | return this.component.maximumWidth; |
| 635 | } |
| 636 | |
| 637 | /** |
| 638 | * Total number of groups. |
| 639 | */ |
| 640 | get size(): number { |
| 641 | return this.component.size; |
| 642 | } |
| 643 | |
| 644 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…