| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- /*
- * ********************************************************************************************************************
- *
- * :*$@@%$*: ;: ;; ;;
- * :@@%! :!@@%: %! ;%%@@%$ =@@@@@@@%; @%@@@%%%%@@@@@
- * :@%; :$= %%$$$%$$ ;$$ ;$@= !@$
- * =@! %! @ $=;% !@@@%: !$$$$$$$$$$$$$$=
- * =@* %! @ $= % %@= =%@! %=
- * *$%%! @@= ;=$%%%$*: %! @ $= % =%%%%%%@$ *%: =%
- * %@@!: !@@@%=$@@@@%! :*@@$: %! @ $= % $* ;@ @* :%*
- * ;@@! ;!!!;: ;@%: =======@%========* @ $$ % $%*****$@ :@$=*********=@$
- * $@* ;@@@%=!: *@*
- * =@$ ;;;!=%@@@@=! =@!
- * %@$: =@%: :*@@@* %@= Copyright (c) 2016-2019. 北京上格云技术有限公司
- * ;%@@$=$@@%* *@@@$=%@@%;
- * ::;:: ::;:: All rights reserved.
- *
- * ********************************************************************************************************************
- */
- import { SUndoCommand } from "@saga-web/base/lib";
- import { SGraphScene } from "../SGraphScene";
- /**
- * Graph命令基类
- *
- * @author 庞利祥(sybotan@126.com)
- */
- export abstract class SGraphCommand extends SUndoCommand {
- /** 命令所属的场景类 */
- scene: SGraphScene | null = null;
- /**
- * 构造函数
- *
- * @param scene 命令所属的场景类
- */
- protected constructor(scene: SGraphScene | null) {
- super();
- this.scene = scene;
- } // Constructor
- } // Class SGraphCommand
|