Author: scabanovich
Date: 2010-11-08 10:48:01 -0500 (Mon, 08 Nov 2010)
New Revision: 26332
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java
Log:
JBIDE-7193
https://jira.jboss.org/browse/JBIDE-7193
Modified:
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java 2010-11-08
15:47:10 UTC (rev 26331)
+++
trunk/esb/plugins/org.jboss.tools.esb.core/src/org/jboss/tools/esb/core/model/impl/BusinessRulesProcessor.java 2010-11-08
15:48:01 UTC (rev 26332)
@@ -25,6 +25,14 @@
int kind = getKind();
return kind < 0 || kind == DECISION_TABLE_BASED;
}
+ String ATTR_RULE_MAX_THREADS = "rule max threads";
+ if(ATTR_RULE_MAX_THREADS.equals(name)) {
+ String a = getAttributeValue("rule multithread evaluation");
+ if("true".equals(a)) return true;
+ String b = getAttributeValue(ATTR_RULE_MAX_THREADS);
+ return b != null && b.length() > 0;
+
+ }
return super.isAttributeEditable(name);
}