| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.extension.rules.RuleFunction
oracle.ide.extension.rules.functions.SingleSelection
public class SingleSelection
Returns true if the IDE Context contains a Selection, and the Selection contains a single Element. This rule accepts one optional parameter whose parameter is a fully-qualifed class name. If supplied, true will only be returned if the Element in the selection matches the expected type.
| Constructor Summary | |
|---|---|
SingleSelection()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
evaluate(RuleEvaluationContext ruleContext,
         java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
 | 
| Methods inherited from class oracle.ide.extension.rules.RuleFunction | 
|---|
getRequiredParameterOrThrow, matchesNameOfClassOrAncestor | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SingleSelection()
| Method Detail | 
|---|
public boolean evaluate(RuleEvaluationContext ruleContext,
                        java.util.Map<java.lang.String,RuleFunctionParameter> parameters)
                 throws RuleEvaluationException
evaluate in class RuleFunctionRuleEvaluationException
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||