| Constructor and Description |
|---|
Action(ActionDescriptor pActionDesc,
IExecutionContext pContext)
Basic constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElementListEntryToSelect(IElementListEntry pEntry)
Adds an
IElementListEntry to be selected after the execution of
the action. |
ActionDescriptor |
getActionDescriptor()
Gets the action descriptor of this action.
|
IElementList |
getElementList()
Returns an element list if the performed action created one.
|
java.util.List<IElementListEntry> |
getElementListEntriesToSelect() |
java.lang.Exception |
getException()
Returns an exception (if one occurred during the execution of this
ActionDescriptor) or null, if no exception occurred. |
IExecutionContext |
getExecutionContext()
Gets the execution context of this action.
|
java.util.List<IToolResult> |
getResourceProcessingProblemResults()
Gets a list of tool results which caused problems during resource
processing.
|
java.util.List<IToolResult> |
getToolResults()
Gets the tool results of all tools executed by this action.
|
boolean |
isCanceled()
Returns
true if the action was cancelled by the user (even
if an input dialog was cancelled). |
void |
setCanceled(boolean pCanceled)
Whether the action was cancelled by the user.
|
void |
setElementList(IElementList pEleList)
Sets the element list of this action.
|
void |
setException(java.lang.Exception pE)
Sets the exception of this action.
|
public Action(ActionDescriptor pActionDesc, IExecutionContext pContext)
pActionDesc - the action descriptorpContext - the contextpublic ActionDescriptor getActionDescriptor()
IActiongetActionDescriptor in interface IActionpublic IExecutionContext getExecutionContext()
IActiongetExecutionContext in interface IActionIExecutionContextpublic java.lang.Exception getException()
IActionActionDescriptor) or null, if no exception occurred.getException in interface IActionnullpublic void setException(java.lang.Exception pE)
IActionsetException in interface IActionpE - the exceptionIAction.getException()public IElementList getElementList()
IActiongetElementList in interface IActionIElementList or nullpublic void setElementList(IElementList pEleList)
IActionsetElementList in interface IActionpEleList - the element list which was created by this actionIAction.getElementList()public void setCanceled(boolean pCanceled)
IActionsetCanceled in interface IActionpCanceled - true if the action was cancelled by the user.
false otherwise.public boolean isCanceled()
IActiontrue if the action was cancelled by the user (even
if an input dialog was cancelled).isCanceled in interface IActionpublic java.util.List<IElementListEntry> getElementListEntriesToSelect()
getElementListEntriesToSelect in interface IActionIElementListEntry that should be selected after
the execution of this action. The list can only contain entries,
if TOOL-DEFINED resource operations with SELECT parameters were
executed.IAction.addElementListEntryToSelect(IElementListEntry)public void addElementListEntryToSelect(IElementListEntry pEntry)
IActionIElementListEntry to be selected after the execution of
the action.addElementListEntryToSelect in interface IActionpEntry - the IElementListEntryIAction.getElementListEntriesToSelect()public java.util.List<IToolResult> getToolResults()
IActiongetToolResults in interface IActionIToolResults of all tools executed by this action.public java.util.List<IToolResult> getResourceProcessingProblemResults()
IActiongetResourceProcessingProblemResults in interface IActionIToolResult which contained resource operations that
caused problems while being processedCopyright © 2015 Micro Focus GmbH. All rights reserved.