(1)抽象模板(Abstract Template):定义了一个或多个抽象操作,以便让子类实现。这些抽象操作叫做基本操作,它们是一个顶级逻辑的组成步骤;定义并实现了一个模板...
基于52个网页-相关网页
The class that implements the individual steps is not forced to inherit from an abstract template superclass.
实现类的具体操作步骤没有被强迫去从一个抽象模板类中继承。
The execute method delegates to an abstract template method, doExecute(), which is responsible for proceeding with the original join point.
execute 方法委托抽象的模板方法 doExecute() 负责继续处理原始的连接点。
Finally, the UI designer on your team would probably rather edit something more like the abstract template described above than edit this Python code.
最后,团队的UI设计人员可能宁愿编辑类似上面描述的抽象模板那样的东西,也不愿意编辑这种Python代码。
应用推荐