⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resultconditioneditor.java

📁 osworkflow修改版本
💻 JAVA
字号:
package com.opensymphony.workflow.designer.editor;import com.opensymphony.workflow.designer.ResultEdge;import com.opensymphony.workflow.designer.ResourceManager;import com.opensymphony.workflow.designer.dialogs.DialogUtils;import com.opensymphony.workflow.loader.AbstractDescriptor;import com.opensymphony.workflow.loader.ConfigConditionDescriptor;import com.opensymphony.workflow.loader.ConditionDescriptor;/** * @author baab */public class ResultConditionEditor extends ConditionEditor{  private ResultEdge edge;  public ResultConditionEditor(ResultEdge cell)  {    super(null);    edge = cell;  }  protected AbstractDescriptor getParent()  {    return edge.getDescriptor();  }	protected ConfigConditionDescriptor getConfigDescriptor(ConditionDescriptor cond)	{		return getModel().getPalette().getResultCondition(cond.getName());	}	protected ConfigConditionDescriptor getCondition()	{		ConfigConditionDescriptor template = (ConfigConditionDescriptor)DialogUtils.getUserSelection(getModel().getPalette().getResultConditions(),		  ResourceManager.getString("condition.select.result"),		  ResourceManager.getString("condition.select"), null);		if(template!=null)		  return new ConfigConditionDescriptor(template);		return null;	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -