private class UiWidgetCustomEditor.UiHandler extends Object implements UiHandlerActionStartEdit, UiHandlerActionStopEdit, UiHandlerActionSave
| Modifier | Constructor and Description |
|---|---|
private |
UiHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onSave(UiEvent event)
This method is invoked for the action save.
|
void |
onStartEditMode(UiEvent event)
This method is invoked for the action start edit mode, typically labeled with edit.
|
void |
onStopEditMode(UiEvent event)
This method is invoked for the action stop edit mode, typically labeled with revert.
|
protected void |
showValidationFailurePopup()
This method shows a popup that informs about validation failures.
|
private void |
stopEditMode()
Called from
onStopEditMode(UiEvent) to actually discard the changes and leave the edit mode. |
public void onSave(UiEvent event)
onSave in interface UiHandlerActionSaveevent - is the UiEvent that triggered this action.protected void showValidationFailurePopup()
public void onStopEditMode(UiEvent event)
switched to the view mode. If the current dialog is
modified a popup should ask
the user to confirm if he really wants to discard his changes or likes to cancel the operation.onStopEditMode in interface UiHandlerActionStopEditevent - is the UiEvent that triggered this action.private void stopEditMode()
onStopEditMode(UiEvent) to actually discard the changes and leave the edit mode.public void onStartEditMode(UiEvent event)
switched to the edit mode.onStartEditMode in interface UiHandlerActionStartEditevent - is the UiEvent that triggered this action.Copyright © 2001–2016 mmm-Team. All rights reserved.