public class EditFishingOperationAction extends AbstractTuttiAction<FishingOperationsUIModel,FishingOperationsUI,FishingOperationsUIHandler>
AbstractTuttiAction.ActionTimerTask<A extends AbstractTuttiAction>| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkPreviousEdit
A flag to not check if there is a previous edit.
|
protected ComputeWeightsAction |
computeWeightsAction
Delegate action to compute the weight of the catches.
|
protected FishingOperation |
fishingOperation
The incoming fishing operation to edit.
|
protected SaveCatchBatchAction |
saveCatchBatchAction
Delgate action to save catch batch.
|
protected SaveFishingOperationAction |
saveFishingOperationAction
Delegate action to save Fising Operation.
|
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Modifier | Constructor and Description |
|---|---|
|
EditFishingOperationAction(FishingOperationsUIHandler handler) |
protected |
EditFishingOperationAction(FishingOperationsUIHandler handler,
String name,
String icon,
String text,
String tip,
boolean hideBody) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAction(ActionEvent event) |
protected ComputeWeightsAction |
getComputeWeightsAction() |
protected SaveCatchBatchAction |
getSaveCatchBatchAction() |
protected SaveFishingOperationAction |
getSaveFishingOperationAction() |
void |
loadCatchBatch(FishingOperation bean,
boolean loadOtherTabs) |
void |
loadFishingOperation(FishingOperation bean) |
protected boolean |
prepareAction(ActionEvent event) |
protected void |
releaseAction(ActionEvent event) |
void |
setCheckPreviousEdit(boolean checkPreviousEdit) |
void |
setFishingOperation(FishingOperation fishingOperation) |
actionPerformed, decorate, getActionDescription, getActionName, getConfig, getContext, getDecorator, getHandler, getMainAction, getModel, getService, getUI, isFailed, isHideBody, runAction, sendMessage, setFailed, setMnemonicaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledprotected FishingOperation fishingOperation
protected boolean checkPreviousEdit
protected SaveFishingOperationAction saveFishingOperationAction
protected ComputeWeightsAction computeWeightsAction
protected SaveCatchBatchAction saveCatchBatchAction
public EditFishingOperationAction(FishingOperationsUIHandler handler)
protected EditFishingOperationAction(FishingOperationsUIHandler handler, String name, String icon, String text, String tip, boolean hideBody)
public void setFishingOperation(FishingOperation fishingOperation)
public void setCheckPreviousEdit(boolean checkPreviousEdit)
protected void releaseAction(ActionEvent event)
protected SaveFishingOperationAction getSaveFishingOperationAction()
protected SaveCatchBatchAction getSaveCatchBatchAction()
protected ComputeWeightsAction getComputeWeightsAction()
protected boolean prepareAction(ActionEvent event)
protected void doAction(ActionEvent event) throws Exception
doAction in class AbstractTuttiAction<FishingOperationsUIModel,FishingOperationsUI,FishingOperationsUIHandler>Exceptionpublic void loadFishingOperation(FishingOperation bean)
public void loadCatchBatch(FishingOperation bean, boolean loadOtherTabs)
Copyright © 2012-2013 Ifremer. All Rights Reserved.