startfunctioneditor.java
来自「osworkflow修改版本」· Java 代码 · 共 40 行
JAVA
40 行
package com.opensymphony.workflow.designer.editor;import com.opensymphony.workflow.designer.InitialActionCell;import com.opensymphony.workflow.designer.ResourceManager;import com.opensymphony.workflow.designer.dialogs.DialogUtils;import com.opensymphony.workflow.loader.AbstractDescriptor;import com.opensymphony.workflow.loader.ConfigFunctionDescriptor;/** * @author jackflit * Date: 2003-11-24 */public class StartFunctionEditor extends FunctionEditor{ public StartFunctionEditor(InitialActionCell cell) { super(cell); } protected InitialActionCell getCell() { return (InitialActionCell)cell; } protected AbstractDescriptor getParent() { return getCell().getActionDescriptor(); } protected ConfigFunctionDescriptor getFunction() { ConfigFunctionDescriptor template = (ConfigFunctionDescriptor)DialogUtils.getUserSelection(getModel().getPalette().getPreFunctions(), ResourceManager.getString("function.select"), ResourceManager.getString("function.select"), null); if(template!=null) return new ConfigFunctionDescriptor(template); return null; } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?