transitionmonitor.js
来自「xiorkflow工作流源码 是一个java开发的工作流源码」· JavaScript 代码 · 共 39 行
JS
39 行
/**
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) xio.name 2006</p>
* @author xio
*/function TransitionMonitor() { this.reset();}//TransitionMonitor.prototype.reset = function () { this.setFromMetaNodeModel(null); this.setToMetaNodeModel(null);};//TransitionMonitor.prototype.setFromMetaNodeModel = function (metaNodeModel) { this.fromMetaNodeModel = metaNodeModel;};TransitionMonitor.prototype.getFromMetaNodeModel = function () { return this.fromMetaNodeModel;};//TransitionMonitor.prototype.setToMetaNodeModel = function (metaNodeModel) { this.toMetaNodeModel = metaNodeModel;};TransitionMonitor.prototype.getToMetaNodeModel = function () { return this.toMetaNodeModel;};//TransitionMonitor.prototype.isEnable = function () { return (this.fromMetaNodeModel && this.toMetaNodeModel);};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?