|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ptc.core.ca.co.client.element.CoElementHandler
com.ptc.core.ca.co.client.action.CoActionHandler
@Deprecated public abstract class CoActionHandler
CoActionHandler implements the handling of the model update
for an action element. It is also responsible for the execution of an
operation when an action it is specifed for is triggered.
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
CoActionDoer |
getActionDoer(CoAction action,
CoEnvData envData)
Deprecated. Returns an instance of a doer implementing CoActionDoer |
CoConfigFeature |
getActionDoerConfig(CoAction action,
CoEnvData envData)
Deprecated. Returns a configuration feature describing the action doer of an action. |
protected void |
initActionModel(CoAction action,
CoEnvData envData)
Deprecated. Creates and initializes an action model by delegating to ActionModel#init |
protected CoActionHandlerData |
newActionHandlerData()
Deprecated. Creates and returns a new instance of CoActionHandlerData |
protected abstract CoActionModel |
newModel()
Deprecated. Creates and returns an instance of CoActionModel |
void |
performOperation(CoAction action,
CoEnvData envData)
Deprecated. Performs an operation when an action is triggered. |
protected void |
updateActionModel(CoAction action,
CoEnvData envData)
Deprecated. Invokes a doer to determine whether an action is visible and enabled. |
void |
updateModel(CoElement element,
CoEnvData envData)
Deprecated. Creates and/or updates an action model by delegating to updateActionModel |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final void updateModel(CoElement element,
CoEnvData envData)
throws WTException
updateActionModel.
Supported API: true
- Specified by:
updateModel in interface CoModelHandler
- Parameters:
element - envData -
- Throws:
WTException
protected void initActionModel(CoAction action,
CoEnvData envData)
throws WTException
ActionModel#init.
Supported API: true
- Parameters:
action - envData -
- Throws:
WTException
protected void updateActionModel(CoAction action,
CoEnvData envData)
throws WTException
action - envData -
WTExceptionprotected CoActionHandlerData newActionHandlerData()
CoActionHandlerData.
Supported API: true
- Returns:
- CoActionHandlerData
protected abstract CoActionModel newModel()
CoActionModel.
Supported API: true
- Returns:
- CoActionModel
public CoActionDoer getActionDoer(CoAction action,
CoEnvData envData)
throws WTException
CoActionDoer
interface.
Supported API: true
- Parameters:
action - envData -
- Returns:
- CoActionDoer
- Throws:
WTException
public CoConfigFeature getActionDoerConfig(CoAction action,
CoEnvData envData)
throws WTException
action - envData -
WTException
public void performOperation(CoAction action,
CoEnvData envData)
throws WTException
CoActionDoer#execute
method. An instance of CoActionHandlerData will be be
passed as a parameter to the method.
Supported API: true
- Parameters:
action - envData -
- Throws:
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||