mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-25 13:35:50 +02:00
split implements and instanceOf from ClassWithAttributes in own ClassWithInterfaces and let et2_dataview_view_container inherit from it
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user