|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanetj.dataengine.action.AbstractAction
planetj.dataengine.action.ActionWrapper
This object encapsulates an action along with an action descriptor that will be used when displaying the action. This allows one action to be able to be displayed using
Field Summary |
Fields inherited from class planetj.dataengine.action.AbstractAction |
DEFAULT_TYPE |
Constructor Summary | |
ActionWrapper(AbstractAction action,
ActionDescriptor descriptor)
Constructor. |
Method Summary | |
java.lang.String |
getDefaultLocation()
Get the default location where this action is to be generated |
ActionDescriptor |
getDescriptor()
Get the descriptor for this action. |
java.lang.String |
getName()
Subclasses may override if necessary. |
java.lang.String |
getType()
Subclasses may override if necessary. |
java.lang.Object |
handleAction(java.lang.Object o,
ExecutingContext ec)
Subclasses need to provide logic to handle the action they wish to perform. |
void |
setDescriptor(ActionDescriptor descriptor)
Set the descriptor for this action. |
Methods inherited from class planetj.dataengine.action.AbstractAction |
clone, cloneAction, getDefaultDescriptor, getDetailsLocations, getDetailsModes, getLocation, getLocations, handleAction, handleAction |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ActionWrapper(AbstractAction action, ActionDescriptor descriptor)
Method Detail |
public java.lang.String getDefaultLocation()
AbstractAction
getDefaultLocation
in class AbstractAction
public ActionDescriptor getDescriptor()
AbstractAction
getDescriptor
in class AbstractAction
public void setDescriptor(ActionDescriptor descriptor)
AbstractAction
setDescriptor
in class AbstractAction
descriptor
- public java.lang.String getName()
AbstractAction
getName
in class AbstractAction
public java.lang.String getType()
AbstractAction
getType
in class AbstractAction
public java.lang.Object handleAction(java.lang.Object o, ExecutingContext ec) throws CMException
AbstractAction
handleAction
in class AbstractAction
o
- Object to perform the action on
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |