Skip to content

Commit

Permalink
refactor(TableViewProvider): make constructor & properties protected (#…
Browse files Browse the repository at this point in the history
…3456)

* refactor: make constructor & properties protected

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

* chore: add ZE API changelog

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>

---------

Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
  • Loading branch information
traeok authored Feb 14, 2025
1 parent 8f9cc83 commit 1233383
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions packages/zowe-explorer-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t

### Bug fixes

- Fixes an issue where properties of the `TableViewProvider` class were not accessible when the class was extended by developers. [#3456](https://github.com/zowe/zowe-explorer-vscode/pull/3456)

## `3.1.0`

### New features and enhancements
Expand Down
8 changes: 3 additions & 5 deletions packages/zowe-explorer-api/src/vscode/ui/TableViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ import { Table } from "./TableView";
* the "Zowe Resources" panel and is therefore not supported.
*/
export class TableViewProvider implements WebviewViewProvider {
private view?: WebviewView;
private tableView: Table.Instance = null;
protected view?: WebviewView;
protected tableView: Table.Instance = null;

private static instance: TableViewProvider;

private constructor() {}
protected static instance: TableViewProvider;

/**
* Retrieve the singleton instance of the TableViewProvider.
Expand Down

0 comments on commit 1233383

Please sign in to comment.