Class UndoSectionRenderer
- java.lang.Object
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
-
- de.hybris.platform.cockpit.components.navigationarea.renderer.UndoSectionRenderer
-
- All Implemented Interfaces:
SectionRenderer
,CockpitEventAcceptor
public class UndoSectionRenderer extends AbstractNavigationAreaSectionRenderer implements CockpitEventAcceptor
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
COCKPIT_ID_REDO_BUTTON
protected static java.lang.String
COCKPIT_ID_UNDO_BUTTON
protected static java.lang.String
CONTEXT_DESCR_SCLASS
protected static java.lang.String
LAST_ACTION_SCLASS
protected static java.lang.String
LATEST_UNDO_ACTION_SCLASS
protected static java.lang.String
LATEST_UNDO_ARROW_ACTION_SCLASS
protected static java.lang.String
REDO_ACTION_SCLASS
protected static java.lang.String
SEPARATOR
protected static java.lang.String
UNDO_ACTION_SCLASS
protected static java.lang.String
UNDO_ACTIONS_SCLASS
protected static java.lang.String
UNDO_BUTTONS_DIVIDER_SCLASS
protected static java.lang.String
UNDO_BUTTONS_SCLASS
-
Constructor Summary
Constructors Constructor Description UndoSectionRenderer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
doRedoTask(UndoableOperation redoOperation, java.lang.Object source)
static void
doUndoTask(UndoableOperation undoOperation, java.lang.Object source)
UndoManager
getUndoManager()
void
onCockpitEvent(CockpitEvent event)
void
render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
void
setNavigationArea(UINavigationArea navigationArea)
-
Methods inherited from class de.hybris.platform.cockpit.components.navigationarea.renderer.AbstractNavigationAreaSectionRenderer
createBrowserItemTooltip, createList, getNavigationArea, getSectionPanelModel
-
-
-
-
Field Detail
-
SEPARATOR
protected static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
UNDO_BUTTONS_SCLASS
protected static final java.lang.String UNDO_BUTTONS_SCLASS
- See Also:
- Constant Field Values
-
UNDO_BUTTONS_DIVIDER_SCLASS
protected static final java.lang.String UNDO_BUTTONS_DIVIDER_SCLASS
- See Also:
- Constant Field Values
-
UNDO_ACTIONS_SCLASS
protected static final java.lang.String UNDO_ACTIONS_SCLASS
- See Also:
- Constant Field Values
-
UNDO_ACTION_SCLASS
protected static final java.lang.String UNDO_ACTION_SCLASS
- See Also:
- Constant Field Values
-
LATEST_UNDO_ACTION_SCLASS
protected static final java.lang.String LATEST_UNDO_ACTION_SCLASS
- See Also:
- Constant Field Values
-
LATEST_UNDO_ARROW_ACTION_SCLASS
protected static final java.lang.String LATEST_UNDO_ARROW_ACTION_SCLASS
- See Also:
- Constant Field Values
-
LAST_ACTION_SCLASS
protected static final java.lang.String LAST_ACTION_SCLASS
- See Also:
- Constant Field Values
-
REDO_ACTION_SCLASS
protected static final java.lang.String REDO_ACTION_SCLASS
- See Also:
- Constant Field Values
-
CONTEXT_DESCR_SCLASS
protected static final java.lang.String CONTEXT_DESCR_SCLASS
- See Also:
- Constant Field Values
-
COCKPIT_ID_UNDO_BUTTON
protected static final java.lang.String COCKPIT_ID_UNDO_BUTTON
- See Also:
- Constant Field Values
-
COCKPIT_ID_REDO_BUTTON
protected static final java.lang.String COCKPIT_ID_REDO_BUTTON
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(SectionPanel panel, org.zkoss.zk.ui.Component parent, org.zkoss.zk.ui.Component captionComponent, Section section)
- Specified by:
render
in interfaceSectionRenderer
- Specified by:
render
in classAbstractNavigationAreaSectionRenderer
-
getUndoManager
public UndoManager getUndoManager()
-
doUndoTask
public static void doUndoTask(UndoableOperation undoOperation, java.lang.Object source)
-
doRedoTask
public static void doRedoTask(UndoableOperation redoOperation, java.lang.Object source)
-
setNavigationArea
public void setNavigationArea(UINavigationArea navigationArea)
- Overrides:
setNavigationArea
in classAbstractNavigationAreaSectionRenderer
- Parameters:
navigationArea
- the navigationArea to set
-
onCockpitEvent
public void onCockpitEvent(CockpitEvent event)
- Specified by:
onCockpitEvent
in interfaceCockpitEventAcceptor
-
-