mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
5e3c67a5cf
classes are now uppercase and in their own files. lowercase classes are deprecated. Interfaces are now actual interfaces that should be implemented instead of creating and returning an ai Object every time
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
/**
|
|
* EGroupware egw_action framework - egw action framework
|
|
*
|
|
* @link https://www.egroupware.org
|
|
* @author Andreas Stöckel <as@stylite.de>
|
|
* @copyright 2011 by Andreas Stöckel
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @package egw_action
|
|
*/
|
|
|
|
import {EGW_AO_FLAG_IS_CONTAINER} from "./egw_action_constants";
|
|
import {EgwActionObject} from "./EgwActionObject";
|
|
import {egwActionObjectInterface} from "./egw_action";
|
|
|
|
/**
|
|
* The egwActionObjectManager is a dummy class which only contains a dummy
|
|
* AOI. It may be used as root object or as object containers.
|
|
*
|
|
* @param {string} _id
|
|
* @param {string} _manager
|
|
* @return {EgwActionObjectManager}
|
|
*/
|
|
export class EgwActionObjectManager extends EgwActionObject {
|
|
constructor(_id: string, _manager: any) {
|
|
const aoi = new egwActionObjectInterface();
|
|
//const ao = new egwActionObject(_id, null, aoi, _manager, EGW_AO_FLAG_IS_CONTAINER)
|
|
super(_id, null, aoi, _manager, EGW_AO_FLAG_IS_CONTAINER);
|
|
this.triggerCallback = function () {
|
|
return false;
|
|
}
|
|
}
|
|
} |