|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.RemotingAction
ccc.client.gwt.remoting.CancelActionAction
public class CancelActionAction
Cancels a CCC action.
Nested Class Summary | |
---|---|
static class |
CancelActionAction.ActionCancelledCallback
Callback handler for applying a working copy. |
Field Summary |
---|
Fields inherited from interface ccc.client.core.Action |
---|
UI_CONSTANTS, USER_ACTIONS |
Constructor Summary | |
---|---|
CancelActionAction(ActionTable table)
Constructor. |
Method Summary | |
---|---|
protected boolean |
beforeExecute()
Handler method called immediately before an action is executed. |
Request |
cancel(ActionSummary action)
Cancel an action. |
protected Request |
getRequest()
Get the HTTP request for this action. |
Methods inherited from class ccc.client.core.RemotingAction |
---|
encode, execute, fireEvent, getActionName, getBody, getParser, getPath, onFailure, onNoContent, onOK, parseResourceSummary, setExecutor, setParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CancelActionAction(ActionTable table)
table
- The action table to work with.Method Detail |
---|
protected boolean beforeExecute()
You can override this method to present confirmation dialogs, etc. to users, when an action is invoked. If this method returns true the action will continue; if false is returned the action will not be executed.
beforeExecute
in class RemotingAction
protected Request getRequest()
getRequest
in class RemotingAction
public Request cancel(ActionSummary action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |