Skip navigation links
oracle.ide.extension.rules.functions
Class AllSelectionsHaveAttribute
java.lang.Object
oracle.ide.extension.rules.RuleFunction
oracle.ide.extension.rules.functions.AllSelectionsHaveAttribute
-
public class AllSelectionsHaveAttribute
- extends RuleFunction
Returns true if the given IDE Context contains a non empty Selection, and all of the Elements contained in the Selection have the expected attribute set. The element-attribute parameter is required, and the value is the string name of one of the constant fields in the ElementAttribute class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AllSelectionsHaveAttribute
public AllSelectionsHaveAttribute()
evaluate
public boolean evaluate(RuleEvaluationContext ruleContext,
java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
throws RuleEvaluationException
-
- Specified by:
evaluate
in class RuleFunction
-
- Throws:
RuleEvaluationException
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.