public class GenericLeafNodeChip extends TypedTreeLeafChip implements ItemCreationListener
TypedTreeLeafChip| Modifier and Type | Field and Description |
|---|---|
static String |
CREATE |
static String |
EXPLORE |
theTypeCOLLAPSE, EDIT, EXPAND, TOGGLECHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
GenericLeafNodeChip(DisplayState displayState,
Chip parent,
ComposedType type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleRequest(DisplayRequest request) |
boolean |
canHandleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
void |
checkValid()
Implements the calling of
AbstractTreeNodeChip.checkValid() of all children AbstractTreeNodeChip.getChildrenInternal(), but not the
handling of invalid children. |
protected void |
edit()
Sets the content of the explorer.
|
protected Chip |
getDisplayChipInternal(Chip parent) |
String |
getIcon() |
ComposedType |
getListeningType()
Should return the
ComposedType for which instance creation this listener wants to be notified. |
List |
getMenuEntries()
Here you can specify what Actions you are able to perform at the moment.
|
String |
getName() |
ComposedType |
getRootType() |
void |
handleRequest(DisplayRequest request) |
void |
handleRequest(SearchRequest request)
Implementation of SearchRequestHandler interface.
|
boolean |
hasDisplayChip() |
void |
itemCreated(ItemCreationEvent event)
Is called if a new ComposedType instance is created.
|
protected boolean |
opensWizard() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
canCreate, getDisplayChip, getProposedUniqueName, getType, hasChildren, isActivedoEdit, getChildrengetDescription, getJSPURI, getMenuChip, initializeChildren, isSelected, processAjaxEvents, setContent, setDescription, setSelectedgetAllChildren, getChildrenInternal, isExpanded, setChildrenInternal, setExpandedaddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refresh, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String EXPLORE
public static final String CREATE
public GenericLeafNodeChip(DisplayState displayState, Chip parent, ComposedType type)
public String getIcon()
getIcon in class AbstractTreeNodeChippublic String getName()
getName in class AbstractTreeNodeChippublic boolean hasDisplayChip()
hasDisplayChip in class TypedTreeLeafChipprotected boolean opensWizard()
protected void edit()
AbstractExplorerMenuTreeNodeChipAbstractTreeNodeChip.EDIT.edit in class AbstractExplorerMenuTreeNodeChipprotected Chip getDisplayChipInternal(Chip parent)
getDisplayChipInternal in class TypedTreeLeafChippublic void processEvents(Map events)
ChipprocessEvents in interface ChipprocessEvents in class TypedTreeLeafChippublic List getMenuEntries()
AbstractChipgetMenuEntries in interface ChipgetMenuEntries in class AbstractExplorerMenuTreeNodeChipMenuEntrypublic ComposedType getRootType()
public void checkValid()
AbstractTreeNodeChipAbstractTreeNodeChip.checkValid() of all children AbstractTreeNodeChip.getChildrenInternal(), but not the
handling of invalid children.checkValid in interface ChipcheckValid in class AbstractTreeNodeChippublic boolean canHandleRequest(DisplayRequest request)
canHandleRequest in interface DisplayRequestHandlercanHandleRequest in class AbstractExplorerMenuTreeNodeChippublic void handleRequest(DisplayRequest request)
handleRequest in interface DisplayRequestHandlerhandleRequest in class AbstractExplorerMenuTreeNodeChippublic boolean canHandleRequest(SearchRequest request)
canHandleRequest in interface SearchRequestHandlercanHandleRequest in class AbstractExplorerMenuTreeNodeChiprequest - the SearchRequest to be handledpublic void handleRequest(SearchRequest request)
handleRequest in interface SearchRequestHandlerhandleRequest in class AbstractExplorerMenuTreeNodeChiprequest - the SearchRequest to be handledpublic void itemCreated(ItemCreationEvent event)
itemCreated in interface ItemCreationListenerevent - the ItemCreationEvent referencing the new itemItemCreationListener.itemCreated(de.hybris.platform.hmc.webchips.event.ItemCreationEvent)public ComposedType getListeningType()
ItemCreationListenerComposedType for which instance creation this listener wants to be notified. If null is
returned, this listener will be notified of all item creation action (within the session).getListeningType in interface ItemCreationListenerItemCreationListener.getListeningType()Copyright © 2017 SAP SE. All Rights Reserved.