public class EditAction extends AbstractComponentWidgetAdapterAware implements CockpitAction<Object,Object>
| Modifier and Type | Field and Description |
|---|---|
static String |
COLLECTION |
static String |
FORWARD_SELECTION_AS_KEY |
static String |
FORWARD_SELECTION_TO_SOCKET_KEY |
static String |
LIST |
static String |
SET |
| Constructor and Description |
|---|
EditAction() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerform(ActionContext<Object> ctx)
Returns true if the action can be performed for the given context, false otherwise.
|
protected Collection |
convertToRequestedType(ActionContext<Object> ctx,
Collection<?> elements) |
boolean |
needsConfirmation(ActionContext<Object> ctx)
Returns true if the action should be confirmed by user before being performed, false otherwise.
|
ActionResult<Object> |
perform(ActionContext<Object> ctx)
Performs the action.
|
addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfirmationMessagepublic static final String FORWARD_SELECTION_TO_SOCKET_KEY
public static final String FORWARD_SELECTION_AS_KEY
public static final String COLLECTION
public static final String LIST
public static final String SET
public ActionResult<Object> perform(ActionContext<Object> ctx)
CockpitActionperform in interface CockpitAction<Object,Object>ctx - context containing the data and other informationprotected Collection convertToRequestedType(ActionContext<Object> ctx, Collection<?> elements)
public boolean canPerform(ActionContext<Object> ctx)
CockpitActioncanPerform in interface CockpitAction<Object,Object>ctx - context containing the data and other informationpublic boolean needsConfirmation(ActionContext<Object> ctx)
CockpitActionneedsConfirmation in interface CockpitAction<Object,Object>ctx - context containing the data and other informationCopyright © 2018. All rights reserved.