public class OrganizerItemChip extends GenericItemChip
GenericItemChip which is used in the organizer. The editor can be
configured (see generic package).GenericItemChip.GenericItemEditorContext, GenericItemChip.GenericWizardEditorContext| Modifier and Type | Field and Description |
|---|---|
static String |
DELETE |
static String |
OPEN_EDITOR |
static String |
PING |
static String |
URI |
static String |
URI_INVALID |
OPEN_ORGANIZER, REFRESH, VALIDATECLOSE, COPY, DELETE_AND_CLOSE, editorNode, REMOVE_FAILEDACCESS, SAVE, SAVE_AND_CLOSE, theItemCHIP_KEY, FALSE, FRAME_KEY, SHOW_JSP_COMMENTS, TRUE, USE_SOCKET_NAMINGDISPLAY_EVENT, FILTERED_PREFIX| Constructor and Description |
|---|
OrganizerItemChip(EditorNode cfg,
DisplayState displayState,
Chip parent,
Item item,
boolean asWizard)
Creates a new item editor chip.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
computeChanges() |
AbstractToolbarChip |
createFooter()
Creates footer for wizard items.
|
AbstractToolbarChip |
createToolbar() |
protected void |
delete() |
protected void |
editNext() |
protected void |
editPrevious() |
String |
getJSPURI()
Returns the URI of the JSP that this chip wants to use.
|
protected OrganizerChip |
getOrganizerChip() |
protected boolean |
hasNext() |
protected boolean |
hasPrevious() |
boolean |
isChanged() |
protected void |
openEditor() |
void |
performSave() |
void |
processEvents(Map events)
Handles all incoming requests for this chip.
|
protected void |
setIsChanged(boolean changed) |
void |
showEditor()
Shows the editor for the item.
|
addItemActionToToolbar, addWizardButton, clearAllErrors, configureItemToolbar, configureSingletonToolbar, configureWizardToolbar, createEditor, getActionChips, getAllAttributeValues, getAttributeChip, getAttributeChips, getAttributeValues, getChangeIndicatorChips, getCloseErrorMessage, getEditorContext, getProgressBar, getRefreshChip, getSpecialEditor, getSpecialSaveChips, getWizardBusinessItem, getWizardButton, getWizardButtons, initialize, isShownExternally, isSingleton, isWizard, openOrganizer, performSave, refresh, registerActionChip, reload, reload, reload, setProgressBar, showEditor, validateAndSavecheckValid, copyItemToClipboard, getChildren, getEditor, getEditorNode, getEssentials, getFooter, getItem, getItemType, getItemTypeCode, getLockedAttributes, getModalAttribute, getModalLanguage, getModalOpener, getPresetAttributeName, getToolbar, hasEssentials, hasFooter, isLocked, isPartOf, readInitialValues, save, setEssentials, setItem, setItemType, setLockedAttributes, setModalReference, setModalReference, setPartOf, setPresetAttributeName, setToolbaraddEventListener, clearInfoMessages, clone, containsDisplayEvent, createMenuEntriesForJS, dispose, errorQueueEmpty, getClipboard, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getFrame, getID, getInfoMessages, getJaloSession, getLocalizedString, getLocalizedString, getLogger, getMenuEntries, getNameSpace, getNameSpaceFor, getParent, getProposedUniqueName, getProposedUniqueNameFor, getRequestFocus, getSessionIdentifier, getStringValue, getUniqueName, getWindow, goFullScreen, hasVisibleContextMenuEntries, isButtonPushed, isButtonPushed, isErrorQueueEmpty, isValid, leaveFullScreen, notifyEventListeners, notifyEventListeners, postErrorMessage, postInfoMessage, postWindowEvent, refreshChild, registerUniqueName, removeEventListener, removeInfoMessage, render, render, setClipboard, setParent, setRequestFocus, setValid, setWindowStatus, translateFormFieldToEventName, translateFormFieldToEventValueequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEventListener, dispose, getCommandID, getDisplayParameters, getDisplayState, getEventID, getEventURL, getEventValue, getID, getJaloSession, getMenuEntries, getParent, getUniqueName, goFullScreen, isValid, leaveFullScreen, registerUniqueName, removeEventListener, render, translateFormFieldToEventName, translateFormFieldToEventValuepublic static final String DELETE
public static final String PING
public static final String OPEN_EDITOR
public static final String URI
public static final String URI_INVALID
public OrganizerItemChip(EditorNode cfg, DisplayState displayState, Chip parent, Item item, boolean asWizard)
public AbstractToolbarChip createFooter()
GenericItemChipcreateFooter in class GenericItemChippublic AbstractToolbarChip createToolbar()
createToolbar in interface ToolbarProvidercreateToolbar in class GenericItemChippublic void showEditor()
ItemChipItemChip.createToolbar(), ItemChip.createEditor(), {link #setEssentials(SpecialSaveChip)}. Here the window to get
via (@link #getWindow()} has to be configured and opened too.showEditor in class GenericItemChipprotected void editNext()
protected boolean hasNext()
protected void editPrevious()
protected boolean hasPrevious()
public boolean computeChanges()
computeChanges in class GenericItemChippublic String getJSPURI()
Chippublic boolean isChanged()
protected void setIsChanged(boolean changed)
public void performSave()
performSave in class GenericItemChippublic void processEvents(Map events)
ChipprocessEvents in interface ChipprocessEvents in class ItemChipprotected void openEditor()
protected void delete()
protected OrganizerChip getOrganizerChip()
Copyright © 2017 SAP SE. All Rights Reserved.