public final class NavigationViewImpl extends BaseWindow implements NavigationView, EventChild
NavigationView.ADVANCED_MODE, MULTI_SELECTION, SELECTION_DISABLED, SIMPLE_MODE, SINGLE_SELECTIONAPPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPEALL_EVENTS, ON_ADD_LINK, ON_ADD_LOOKUP, ON_ADD_TO_FAVORITES, ON_AFTER_QUERY, ON_BUTTON, ON_BUTTON_QUERY, ON_CANCEL, ON_CANCEL_AND, ON_CANCEL_EDIT, ON_CHANGE_DOCUMENT_SECURITY, ON_CHANGE_FOLDER_SECURITY, ON_CLEAR, ON_DELETE_SELECTED, ON_DISPLAY_POPUP, ON_DISPLAY_RESULTITEM, ON_DISPLAY_TEMPORARY_DOCUMENT, ON_DOCUMENT_ADDED, ON_DOCUMENT_CHECK, ON_DOCUMENT_FILING, ON_DOCUMENT_LOCKED, ON_DOCUMENT_RELEASE, ON_DOWNLOAD_RESULTITEM, ON_EDIT_CONTENT, ON_EDIT_FOLDER, ON_EDIT_ITEM, ON_EDIT_ITEM_SELECTED, ON_EDIT_LOOKUP, ON_EDIT_SELECTED, ON_EDIT_STRUCTURE, ON_EXPAND_NODE, ON_EXPORT, ON_FAST_ACCESS_DRAG_OVER, ON_FIELD_CHANGE, ON_FILE_ACTION, ON_FILE_PREVIEW, ON_FILE_SEARCH, ON_FORM_CREATED, ON_FORM_RENDER_ERROR, ON_FORWARD, ON_IGNORE, ON_INDEX, ON_INDEX_CLEAR, ON_INDEX_RESULTITEM, ON_ITEM_DOUBLECLICK, ON_LAUNCH_WORKFLOW, ON_LOG, ON_LOGON, ON_MACRO, ON_NAVIGATION, ON_NAVIGATION_FOLDER, ON_NAVIGATION_FORM, ON_NAVIGATION_WEBPART, ON_NEW_ITEM, ON_NEW_SELECTED, ON_OK, ON_OPEN_INDEX_MASK, ON_OPEN_MASK, ON_OPEN_QUERY_MASK, ON_PASSWORD_EXPIRED, ON_PRINT_DOCUMENTS, ON_QUERY, ON_QUERY_FAVORITE, ON_REFRESH, ON_REFRESH_FOLDER, ON_RESET_GUI, ON_REVISION_CREATED, ON_SAVE_AND, ON_SAVE_DOC, ON_SAVE_FOLDER, ON_SCROLL_NODE, ON_SELECT_TREE_ITEM, ON_SELECTDDC, ON_SEND_MAIL_RESULTITEM, ON_START_WORKFLOW, ON_TAB_SELECTED, ON_UNDELETE_SELECTED, ON_UPLOAD_DOCUMENT, ON_UPLOAD_SUCCESS, ON_VARIABLES_AVAILABLE, ON_WF, ON_WF_COMMENT_DIALOG_CANCEL, ON_WF_COMMENT_DIALOG_OK, ON_WFCOMMENTS, ON_WFDELEGATE, ON_WFFORWARD, ON_WFFORWARD1, ON_WFFORWARD2, ON_WFFORWARD3, ON_WFFORWARD4, ON_WFFORWARD5, ON_WFHISTORY, ON_WFPUTBACK, ON_WFREMINDER, ON_WFTAKE, ON_WORKFLOW_ACTION, ON_WORKFLOW_COMMENT| Constructor and Description |
|---|
NavigationViewImpl()
The navigation view.
|
NavigationViewImpl(boolean selectionMode,
boolean multiple,
boolean privateAllowed,
boolean link)
The navigation view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildNodes(NavigationNode node)
Adds next level children to the given node.
|
FastAccessItem |
addFastAccess(String ddc,
String path,
String name,
boolean temporary)
Adds a new entry to the fast access list.
|
void |
addNode(NavigationNode parent,
NavigationNode child) |
void |
addNodeMenuHandler(NaviTreeNodeMenuHandler handler,
NavigationElement.TREE_ITEM_TYPE itemType)
Add additional menu handler.
|
NaviTreeNode |
findFolder(FolderId id)
Finds the folder with the specified id.
|
int |
getAllowedMaxNrOfNodesPerLevel()
Gets the maximum number of allowed nodes per level.
|
Set<org.zkoss.zk.ui.Component> |
getEventtarget(String eventName)
Reads the event target for the given event name, if set or the root element.
|
String |
getNavigationMode()
Returns the navigation mode.
|
NaviMenuRights |
getNodeMenuRights(NavigationElement.TREE_ITEM_TYPE itemType,
NaviTreeNode node)
Reads the rights for the given tree item type.
|
RootNaviTreeNode |
getRootNode() |
String |
getSelectedFolderTable() |
Set<NavigationNode> |
getSelectedNodes() |
Set<NaviTreeNode> |
getSelectedUploadNodes()
Returns the node selected for uploading.
|
boolean |
getSimpleEFileChildren() |
void |
handleUploadPanelVisibility(boolean isUploadPanelVisible) |
protected void |
handleVisibilityOfUploadArea(NaviTreeNode node)
Shows or hides the navigation view.
|
boolean |
isAdvancedMode()
Returns true if the navigation view is in advanced mode.
|
boolean |
isDdcSelectorVisible()
Reads the visibility of the Folder-DDC selector.
|
boolean |
isFastAccessEnabled() |
boolean |
isLinkMode() |
boolean |
isMultiSelection() |
boolean |
isPrivateSelectAllowed() |
boolean |
isSelectionMode() |
boolean |
isWebpartsAllowed() |
void |
onAddLink(org.zkoss.zk.ui.event.Event event)
Event handler to add link.
|
void |
onAddToFavorites(org.zkoss.zk.ui.event.Event event)
Event handler to add to favorite.
|
void |
onChangeFolderSecurity(org.zkoss.zk.ui.event.Event event)
Event handler for change of folder security.
|
void |
onCreate(org.zkoss.zk.ui.event.Event event)
OnCreate event handler.
|
void |
onDocumentFiling(org.zkoss.zk.ui.event.Event event)
Event handler for document filing events.
|
void |
onFileAction(org.zkoss.zk.ui.event.Event event)
Event handler for onFileAction events.
|
void |
onLogon(org.zkoss.zk.ui.event.Event event)
Event handler for logon.
|
void |
onRefreshFolder(org.zkoss.zk.ui.event.Event event)
Event to trigger the refresh of either folders or workflow folders.
|
void |
onSelectTreeItem(org.zkoss.zk.ui.event.Event event)
Event handler to select a tree item.
|
void |
onTabSelected(org.zkoss.zk.ui.event.Event event)
Event handler for tab selected event.
|
void |
onUploadSuccess(org.zkoss.zk.ui.event.Event event)
OnUploadSuccess event handler.
|
void |
openFolderPropertyMask(FolderId folderId,
String maskName)
Opens the mask to edit the folder's properties.
|
void |
openFolderPropertyMask(FolderId folderId,
String maskName,
org.zkoss.zk.ui.event.EventListener cancelListener,
String windowTitle)
Opens the mask to edit the folders's properties.
|
void |
removeNode(FolderId id)
Removes the node identified by the specified id from the view.
|
void |
removeNode(NavigationNode node)
Removes the node from the view.
|
void |
renderFastAccess(String ddc,
String fastAccessPath)
Renders the fast access content.
|
void |
renderNavigationTree(NavigationTree tree)
Sets the user settings navigation data tree to be displayed.
|
void |
setAllowedMaxNrOfNodesPerLevel(int limit)
Sets the maximum number of allowed nodes per level to the given limit.
|
void |
setDdcSelectorVisible(boolean value)
Set visibility of the Folder-DDC selector.
|
void |
setEventtarget(org.zkoss.zk.ui.Component comp,
String eventName)
Set the event target.
|
void |
setFastAccessEnabled(boolean enabled)
Activates or deactivates the fast access list.
|
void |
setFolderTable(String tableName)
Sets the folder table to use.
|
void |
setNavigationMode(String mode)
Sets the navigation mode.
|
void |
setSelectionMode(String mode)
Sets the selection mode.
|
void |
setSimpleEFileChildren(boolean value)
If this parameter is set to true, a eFile folder shows only eFile names, that where opened in
the session.
|
void |
setWebpartsAllowed(boolean value) |
void |
showNode(FolderId folderId)
Assures that the node with the specified path is visible in the navigation view.
|
getMainWindow, postAddLinkEvent, postAddToFavoritesEvent, postCancelSelectedEvent, postChangeDocumentSecurityEvent, postChangeFolderSecurityEvent, postDeleteSelectedEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayResultItemEvent, postDisplayResultItemEvent, postDocumentCheckEvent, postDocumentFilingEvent, postDocumentFilingEvent, postDocumentReleaseEvent, postDownloadResultItemEvent, postEditContentEvent, postEditItemSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditStructureEvent, postErrorLogEvent, postErrorLogEvent, postFieldChangeEvent, postFileActionEvent, postFileActionEvent, postFormButtonEvent, postIndexResultItemEvent, postInfoLogEvent, postInfoLogEvent, postLaunchWorkflowEvent, postLockDocumentEvent, postLogonEvent, postLogonEvent, postNavigationFolderEvent, postNavigationFormEvent, postNavigationFormEvent, postNavigationWebpartEvent, postNewSelectedEvent, postOpenMaskEvent, postPrintDocumentEvent, postQueryFavoriteEvent, postRefreshEvent, postResetGuiEvent, postResultFieldEvent, postSaveDocumentEvent, postSaveDocumentEvent, postSelectTreeItemEvent, postSendMailResultItemEvent, postStartWorkflowEvent, postTabSelectedEvent, postUnDeleteSelectedEvent, postUploadDocumentEvent, postUploadSuccessEvent, postWarningLogEvent, postWarningLogEvent, postWorkflowActionEvent, postWorkflowCommentEventbeforeChildAdded, clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getCaptionApi, getContentSclass, getContentStyle, getDefaultActionOnShow, getMinheight, getMinwidth, getMode, getPosition, getTitle, getZclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isCollapsible, isMaximizable, isMaximized, isMinimizable, isMinimized, isShadow, isSizable, onChildRemoved, onClose, onModal, onPageDetached, renderProperties, service, setBorder, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMaximizable, setMaximized, setMinheight, setMinimizable, setMinimized, setMinwidth, setMode, setMode, setPosition, setShadow, setSizable, setTitle, setTopmost, setVisiblegetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getAction, getDraggable, getDroppable, getExtraCtrl, getHeight, getHflex, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getVflex, getWidth, getZindex, getZIndex, setAction, setClass, setDroppable, setFocus, setHeight, setHeightDirectly, setHflex, setHflexDirectly, setLeft, setLeftDirectly, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setTopDirectly, setVflex, setWidth, setWidthDirectly, setZclass, setZindex, setZIndex, setZIndexDirectlyaddAnnotation, addAnnotation, addClientEvent, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addScopeListener, addSharedAnnotationMap, addSharedEventHandlerMap, appendChild, applyProperties, beforeChildRemoved, beforeParentChanged, containsVariable, detach, didActivate, didActivate, didDeserialize, didDeserialize, disableClientUpdate, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getClientEvents, getDefaultMold, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, invalidate, isChildable, isInvalidated, isListenerAvailable, isVisible, newChildren, newExtraCtrl, onChildAdded, onPageAttached, onWrongValue, redraw, redrawChildren, removeAttribute, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, removeScopeListener, render, render, render, renderIdSpace, response, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setAttribute, setAuService, setDefinition, setDefinition, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisibleDirectly, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdate, smartUpdateWidgetListener, smartUpdateWidgetOverride, toString, unsetVariable, updateByClient, willPassivate, willPassivate, willSerialize, willSerializefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getStubonly, getUuid, getVariable, getWidgetAttribute, getWidgetAttributeNames, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setStubonly, setVariable, setVisible, setWidgetAttribute, setWidgetClass, setWidgetListener, setWidgetOverride, unsetVariableaddScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttributepostAddLinkEvent, postAddToFavoritesEvent, postCancelSelectedEvent, postChangeDocumentSecurityEvent, postChangeFolderSecurityEvent, postDeleteSelectedEvent, postDisplayPopupEvent, postDisplayPopupEvent, postDisplayResultItemEvent, postDisplayResultItemEvent, postDocumentCheckEvent, postDocumentFilingEvent, postDocumentFilingEvent, postDocumentReleaseEvent, postDownloadResultItemEvent, postEditContentEvent, postEditItemSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditSelectedEvent, postEditStructureEvent, postFieldChangeEvent, postFileActionEvent, postFileActionEvent, postFormButtonEvent, postIndexResultItemEvent, postLaunchWorkflowEvent, postLockDocumentEvent, postLogonEvent, postLogonEvent, postNavigationFolderEvent, postNavigationFormEvent, postNavigationFormEvent, postNavigationWebpartEvent, postNewSelectedEvent, postOpenMaskEvent, postPrintDocumentEvent, postQueryFavoriteEvent, postRefreshEvent, postResetGuiEvent, postResultFieldEvent, postSaveDocumentEvent, postSaveDocumentEvent, postSelectTreeItemEvent, postSendMailResultItemEvent, postStartWorkflowEvent, postTabSelectedEvent, postUnDeleteSelectedEvent, postUploadDocumentEvent, postUploadSuccessEvent, postWorkflowActionEvent, postWorkflowCommentEventpostErrorLogEvent, postErrorLogEvent, postInfoLogEvent, postInfoLogEvent, postWarningLogEvent, postWarningLogEventgetContext, getCtrlKeys, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltipfocus, getHeight, getLeft, getRenderdefer, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZindex, getZIndex, setDroppable, setFocus, setHeight, setLeft, setRenderdefer, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndexpublic NavigationViewImpl()
public NavigationViewImpl(boolean selectionMode,
boolean multiple,
boolean privateAllowed,
boolean link)
throws org.zkoss.util.InvalidValueException
selectionMode - set to true to use the view in selection mode. Will load the tree automatically.multiple - multiple selection modeprivateAllowed - private selection allowedlink - Link mode variantorg.zkoss.util.InvalidValueException - if navigation mode setting is unknownpublic void handleUploadPanelVisibility(boolean isUploadPanelVisible)
isUploadPanelVisible - True for activatepublic void renderFastAccess(String ddc, String fastAccessPath)
renderFastAccess in interface NavigationViewddc - folder ddcfastAccessPath - Fast access pathNavigationView.renderFastAccess(java.lang.String,
java.lang.String)public void renderNavigationTree(NavigationTree tree)
renderNavigationTree in interface NavigationViewtree - The navigation tree data to be displayed.public void addChildNodes(NavigationNode node)
addChildNodes in interface NavigationViewnode - The navigation node data to be updated.public void removeNode(FolderId id)
removeNode in interface NavigationViewid - id of the folder to removeNavigationView.removeNode(com.saperion.ngc.model.FolderId)public void removeNode(NavigationNode node)
removeNode in interface NavigationViewnode - the node to removeNavigationView.removeNode(com.saperion.ngc.model.navigation.intf.NavigationNode)public void addNode(NavigationNode parent, NavigationNode child)
addNode in interface NavigationViewparent - Nodechild - ChildNavigationView.addNode(com.saperion.ngc.model.navigation.intf.NavigationNode,
com.saperion.ngc.model.navigation.intf.NavigationNode)public NaviTreeNode findFolder(FolderId id)
findFolder in interface NavigationViewid - folder idNavigationView.findFolder(com.saperion.ngc.model.FolderId)public Set<org.zkoss.zk.ui.Component> getEventtarget(String eventName)
getEventtarget in interface EventChildgetEventtarget in class BaseWindoweventName - Event name or null for main targetEventChild.getEventtarget(java.lang.String)public void setEventtarget(org.zkoss.zk.ui.Component comp,
String eventName)
setEventtarget in interface EventChildsetEventtarget in class BaseWindowcomp - Event targeteventName - Event name or null for main targetEventChildHandlerImpl.setEventtarget(org.zkoss.zk.ui.Component,
java.lang.String)public void setDdcSelectorVisible(boolean value)
setDdcSelectorVisible in interface NavigationViewvalue - True for visibleNavigationView.setDdcSelectorVisible(boolean)public boolean isDdcSelectorVisible()
isDdcSelectorVisible in interface NavigationViewNavigationView.isDdcSelectorVisible()public int getAllowedMaxNrOfNodesPerLevel()
getAllowedMaxNrOfNodesPerLevel in interface NavigationViewNavigationView.getAllowedMaxNrOfNodesPerLevel()public void setAllowedMaxNrOfNodesPerLevel(int limit)
setAllowedMaxNrOfNodesPerLevel in interface NavigationViewlimit - the maximum number of allowed nodes per levelNavigationView.setAllowedMaxNrOfNodesPerLevel(int)public boolean isSelectionMode()
isSelectionMode in interface NavigationViewNavigationView.isSelectionMode()public boolean isMultiSelection()
isMultiSelection in interface NavigationViewNavigationView.isMultiSelection()public boolean isLinkMode()
isLinkMode in interface NavigationViewNavigationView.isLinkMode()public boolean isPrivateSelectAllowed()
isPrivateSelectAllowed in interface NavigationViewNavigationView.isPrivateSelectAllowed()public Set<NavigationNode> getSelectedNodes()
getSelectedNodes in interface NavigationViewNavigationView.getSelectedNodes()public Set<NaviTreeNode> getSelectedUploadNodes()
public void onLogon(org.zkoss.zk.ui.event.Event event)
onLogon in interface NavigationViewevent - EventNavigationView.onLogon(org.zkoss.zk.ui.event.Event)public void onSelectTreeItem(org.zkoss.zk.ui.event.Event event)
onSelectTreeItem in interface NavigationViewevent - EventNavigationView.onSelectTreeItem(org.zkoss.zk.ui.event.Event)public void onAddToFavorites(org.zkoss.zk.ui.event.Event event)
onAddToFavorites in interface NavigationViewevent - EventNavigationView.onAddToFavorites(org.zkoss.zk.ui.event.Event)public void onDocumentFiling(org.zkoss.zk.ui.event.Event event)
onDocumentFiling in interface NavigationViewevent - eventNavigationView.onDocumentFiling(org.zkoss.zk.ui.event.Event)public void onChangeFolderSecurity(org.zkoss.zk.ui.event.Event event)
onChangeFolderSecurity in interface NavigationViewevent - eventNavigationView.onChangeFolderSecurity(org.zkoss.zk.ui.event.Event)public void onAddLink(org.zkoss.zk.ui.event.Event event)
onAddLink in interface NavigationViewevent - EventNavigationView.onAddLink(org.zkoss.zk.ui.event.Event)public void onCreate(org.zkoss.zk.ui.event.Event event)
throws org.zkoss.util.InvalidValueException
event - eventorg.zkoss.util.InvalidValueException - if navigation mode contains an invalid valuepublic void onUploadSuccess(org.zkoss.zk.ui.event.Event event)
event - eventpublic void onFileAction(org.zkoss.zk.ui.event.Event event)
event - eventpublic void onTabSelected(org.zkoss.zk.ui.event.Event event)
event - eventpublic void onRefreshFolder(org.zkoss.zk.ui.event.Event event)
event - Refresh Event.public FastAccessItem addFastAccess(String ddc, String path, String name, boolean temporary)
addFastAccess in interface NavigationViewddc - folder ddcpath - path of the tree part to showname - name of the entrytemporary - temporary items are not saved in user settingsNavigationView.addFastAccess(java.lang.String,
java.lang.String, java.lang.String, boolean)public boolean isWebpartsAllowed()
isWebpartsAllowed in interface NavigationViewNavigationView.isWebpartsAllowed()public void setWebpartsAllowed(boolean value)
setWebpartsAllowed in interface NavigationViewvalue - True for allowedNavigationView.setWebpartsAllowed(boolean)public String getSelectedFolderTable()
getSelectedFolderTable in interface NavigationViewNavigationView.getSelectedFolderTable()public void setNavigationMode(String mode)
setNavigationMode in interface NavigationViewmode - 'simple' or 'advanced' to select modeNavigationView.setNavigationMode(java.lang.String)public String getNavigationMode()
getNavigationMode in interface NavigationViewNavigationView.getNavigationMode()public boolean isAdvancedMode()
isAdvancedMode in interface NavigationViewNavigationView.isAdvancedMode()public void openFolderPropertyMask(FolderId folderId, String maskName)
openFolderPropertyMask in interface NavigationViewfolderId - id of the folder to editmaskName - name of the mask to openNavigationView.openFolderPropertyMask(FolderId, String)public void openFolderPropertyMask(FolderId folderId, String maskName, org.zkoss.zk.ui.event.EventListener cancelListener, String windowTitle)
openFolderPropertyMask in interface NavigationViewfolderId - id of the folder to editmaskName - name of the mask to opencancelListener - event listener notified when the user presses cancel. The event sent to the
listener contains the id of the folder that was edited in it's data-field.windowTitle - title of the windowNavigationView.openFolderPropertyMask(com.saperion.ngc.model.FolderId,
java.lang.String, org.zkoss.zk.ui.event.EventListener, java.lang.String)public void showNode(FolderId folderId)
showNode in interface NavigationViewfolderId - id of the nodeNavigationView.showNode(com.saperion.ngc.model.FolderId)public void setSelectionMode(String mode) throws org.zkoss.util.InvalidValueException
setSelectionMode in interface NavigationViewmode - selection modeorg.zkoss.util.InvalidValueException - invalid value in zul fileNavigationView.setSelectionMode(java.lang.String)public void setFolderTable(String tableName)
setFolderTable in interface NavigationViewtableName - table nameNavigationView.setFolderTable(java.lang.String)public void setFastAccessEnabled(boolean enabled)
setFastAccessEnabled in interface NavigationViewenabled - enabledNavigationView.setFastAccessEnabled(boolean)public boolean isFastAccessEnabled()
isFastAccessEnabled in interface NavigationViewNavigationView.isFastAccessEnabled()public RootNaviTreeNode getRootNode()
getRootNode in interface NavigationViewNavigationView.getRootNode()protected void handleVisibilityOfUploadArea(NaviTreeNode node)
node - selected nodepublic void addNodeMenuHandler(NaviTreeNodeMenuHandler handler, NavigationElement.TREE_ITEM_TYPE itemType)
addNodeMenuHandler in interface NavigationViewhandler - Menu handleritemType - Tree item type(com.saperion.ngc.navigation.NaviTreeNodeMenuHandler,
com.saperion.ngc.model.navigation.intf.NavigationElement.TREE_ITEM_TYPE)public NaviMenuRights getNodeMenuRights(NavigationElement.TREE_ITEM_TYPE itemType, NaviTreeNode node)
getNodeMenuRights in interface NavigationViewitemType - Tree item typenode - navigation node(com.saperion.ngc.model.navigation.intf.NavigationElement.TREE_ITEM_TYPE,
com.saperion.ngc.navigation.NaviTreeNode)public void setSimpleEFileChildren(boolean value)
setSimpleEFileChildren in interface NavigationViewvalue - True for simple eFile children.NavigationView.setSimpleEFileChildren(boolean)public boolean getSimpleEFileChildren()
getSimpleEFileChildren in interface NavigationViewNavigationView.getSimpleEFileChildren()Copyright © 2016 SAPERION AG. All rights reserved.