|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.ca.co.client.doer.CoDefaultActionValidator
@Deprecated public class CoDefaultActionValidator
This class implements an action validator capable of taking advantage
of Check sub-elements. The typical usage is the following:
<Action id="action.checkoutOpen" needSelection="true">
<Label resource="Checkout/Open"/>
<ToolTip resource="Checkout/Open"/>
<Location ref=":dialog.download.open"/>
<ActionHandler class="%[InPlaceActionHandler]"/>
<ActionDoer class="com.ptc.core.ca.co.client.doer.CoDoAndGoActionTaskDoer">
<Need attribute="checkoutInfo.state" type="%[enterprise:RevisionControlled]"/>
<Validator class="com.ptc.core.ca.co.client.doer.CoDefaultActionValidator">
<Check value="%[attribute#Wizard#checkoutInfo.state]==c/i"/>
</Validator>
<Task nextOperation="STDOP|com.ptc.windchill.view" taskDelegate="dca-checkout">
<TaskParameter function="com.ptc.refimpl.co.client.misc.CoWizardInstanceAsObjRefFunctionActionParam"/>
</Task>
</ActionDoer>
<Insert ref="common:renderer.action"/>
</Action>
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
boolean |
canExecute(CoConfigFeature validatorConfig,
CoActionHandlerData execData)
Deprecated. The method to determine whether an action is can be triggered in the current situation. |
boolean |
isRelevant(CoConfigFeature validatorConfig,
CoActionHandlerData execData)
Deprecated. The method to determine whether an action is relevant to the current situation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean canExecute(CoConfigFeature validatorConfig,
CoActionHandlerData execData)
throws WTException
canExecute in interface CoActionValidatorvalidatorConfig - execData -
WTException
public boolean isRelevant(CoConfigFeature validatorConfig,
CoActionHandlerData execData)
throws WTException
isRelevant in interface CoActionValidatorvalidatorConfig - execData -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||