Class DefaultEditorAreaControllerConcurrentModificationDelegate
- java.lang.Object
-
- com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaControllerConcurrentModificationDelegate
-
public class DefaultEditorAreaControllerConcurrentModificationDelegate extends java.lang.ObjectDelegate for handling concurrent modification of object edited in editor area.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringID_CONCURRENT_MODIFICATION_MSG_BOXprotected static java.lang.StringMODEL_CONCURRENT_MODIFICATION
-
Constructor Summary
Constructors Constructor Description DefaultEditorAreaControllerConcurrentModificationDelegate(DefaultEditorAreaController controller)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetLabel(java.lang.String key)protected WidgetModalMessageBox.BuildergetMessageBoxBuilder()voidinitializeConcurrentModificationMessageboxVisibility()Shows concurrent modification messagebox if in model it's enabled.protected booleanisConcurrentModification()protected voidonConcurrentModificationReload()voidresetConcurrentModificationState()Hides concurrent modification message box and resets flag in the model.protected voidshowConcurrentModificationInternal()voidshowConcurrentModificationMessagebox()Shows concurrent modification messagebox
-
-
-
Field Detail
-
ID_CONCURRENT_MODIFICATION_MSG_BOX
protected static final java.lang.String ID_CONCURRENT_MODIFICATION_MSG_BOX
- See Also:
- Constant Field Values
-
MODEL_CONCURRENT_MODIFICATION
protected static final java.lang.String MODEL_CONCURRENT_MODIFICATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DefaultEditorAreaControllerConcurrentModificationDelegate
public DefaultEditorAreaControllerConcurrentModificationDelegate(DefaultEditorAreaController controller)
-
-
Method Detail
-
showConcurrentModificationMessagebox
public void showConcurrentModificationMessagebox()
Shows concurrent modification messagebox
-
showConcurrentModificationInternal
protected void showConcurrentModificationInternal()
-
initializeConcurrentModificationMessageboxVisibility
public void initializeConcurrentModificationMessageboxVisibility()
Shows concurrent modification messagebox if in model it's enabled.
-
resetConcurrentModificationState
public void resetConcurrentModificationState()
Hides concurrent modification message box and resets flag in the model.
-
isConcurrentModification
protected boolean isConcurrentModification()
-
onConcurrentModificationReload
protected void onConcurrentModificationReload()
-
getMessageBoxBuilder
protected WidgetModalMessageBox.Builder getMessageBoxBuilder()
-
getLabel
protected java.lang.String getLabel(java.lang.String key)
-
-