split implements and instanceOf from ClassWithAttributes in own ClassWithInterfaces and let et2_dataview_view_container inherit from it

This commit is contained in:
Ralf Becker
2021-06-14 11:47:02 +02:00
parent 685a0d3328
commit be0af7be68
4 changed files with 228 additions and 249 deletions

View File

@@ -17,6 +17,7 @@
import {et2_dataview_IInvalidatable} from "./et2_dataview_interfaces";
import {et2_bounds} from "./et2_core_common";
import {ClassWithInterfaces} from "./et2_core_inheritance";
/**
* The et2_dataview_container class is the main object each dataview consits of.
@@ -34,7 +35,7 @@ import {et2_bounds} from "./et2_core_common";
*
* @augments Class
*/
export class et2_dataview_container implements et2_dataview_IInvalidatable
export class et2_dataview_container extends ClassWithInterfaces implements et2_dataview_IInvalidatable
{
protected _parent: any;
@@ -61,6 +62,8 @@ export class et2_dataview_container implements et2_dataview_IInvalidatable
*/
constructor(_parent)
{
super();
// Copy the given invalidation element
this._parent = _parent;