Skip to content

Commit d43e766

Browse files
committed
few protected properties
1 parent b6045e7 commit d43e766

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/PropertyGrid.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
225225
public getTypeInfo: (obj: any, type: string) => ITypeInfo = (obj, type) => this.typeDefinitions.find(x => x.name == type);
226226
public typeDefinitions: ITypeInfo[];
227227

228-
private _table: HTMLDivElement;
229-
private _tree: Wunderbaum;
230-
private _head: HTMLDivElement;
228+
protected _table: HTMLDivElement;
229+
protected _tree: Wunderbaum;
230+
protected _head: HTMLDivElement;
231231

232232
public constructor() {
233233
super();
@@ -320,7 +320,7 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
320320
}
321321
}
322322

323-
private _selectedObject: any;
323+
protected _selectedObject: any;
324324

325325
public get selectedObject(): any {
326326
return this._selectedObject;
@@ -334,7 +334,7 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
334334

335335
public typeName: string;
336336

337-
private createPropertyNodes(baseNode: IPropertyGridWbNodeData[], properties: IProperty[], prefix = '') {
337+
protected createPropertyNodes(baseNode: IPropertyGridWbNodeData[], properties: IProperty[], prefix = '') {
338338
if (!this.noCategory) {
339339
const groups: Map<string, { [index: string]: IProperty }> = new Map();
340340

@@ -368,7 +368,7 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
368368
}
369369
}
370370

371-
private createPropertyNodesInternal(baseNode: IPropertyGridWbNodeData[], properties: { [index: string]: IProperty }, prefix = '') {
371+
protected createPropertyNodesInternal(baseNode: IPropertyGridWbNodeData[], properties: { [index: string]: IProperty }, prefix = '') {
372372
for (const name in properties) {
373373
if ((!this.hideProperties || (';' + this.hideProperties + ';').indexOf(';' + name + ';') < 0)) {
374374
const p = properties[name];
@@ -566,7 +566,7 @@ export class PropertyGrid extends BaseCustomWebComponentConstructorAppend {
566566
}
567567
}
568568

569-
private _renderTree() {
569+
protected _renderTree() {
570570
if (this._tree) {
571571
this._tree.root.removeChildren();
572572

0 commit comments

Comments
 (0)